Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ $ create-instantsearch-app --help
--index-name <indexName> The main index of your search
--main-attribute <mainAttribute> The main searchable attribute of your index
--attributes-for-faceting <attributesForFaceting> The attributes for faceting
-t, --template <template> The InstantSearch template to use
--template <template> The InstantSearch template to use
--library-version <template> The version of the library
-c, --config <config> The configuration file to get the options from
--config <config> The configuration file to get the options from
--no-installation Ignore dependency installation
-h, --help output usage information
```
Expand Down
7 changes: 2 additions & 5 deletions src/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,9 @@ program
'--attributes-for-faceting <attributesForFaceting>',
'The attributes for faceting'
)
.option('-t, --template <template>', 'The InstantSearch template to use')
.option('--template <template>', 'The InstantSearch template to use')
.option('--library-version <template>', 'The version of the library')
.option(
'-c, --config <config>',
'The configuration file to get the options from'
)
.option('--config <config>', 'The configuration file to get the options from')
.option('--no-installation', 'Ignore dependency installation')
.action((dest, opts) => {
appPath = dest;
Expand Down