Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

Commit 4bc6ba1

Browse files
fix(cli): Remove command shortcuts (#67)
* docs(readme): Remove shortcuts in CLI usage * fix(cli): Remove command shortcuts
1 parent ad96915 commit 4bc6ba1

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ $ create-instantsearch-app --help
4848
--index-name <indexName> The main index of your search
4949
--main-attribute <mainAttribute> The main searchable attribute of your index
5050
--attributes-for-faceting <attributesForFaceting> The attributes for faceting
51-
-t, --template <template> The InstantSearch template to use
51+
--template <template> The InstantSearch template to use
5252
--library-version <template> The version of the library
53-
-c, --config <config> The configuration file to get the options from
53+
--config <config> The configuration file to get the options from
5454
--no-installation Ignore dependency installation
5555
-h, --help output usage information
5656
```

src/cli/index.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,9 @@ program
4040
'--attributes-for-faceting <attributesForFaceting>',
4141
'The attributes for faceting'
4242
)
43-
.option('-t, --template <template>', 'The InstantSearch template to use')
43+
.option('--template <template>', 'The InstantSearch template to use')
4444
.option('--library-version <template>', 'The version of the library')
45-
.option(
46-
'-c, --config <config>',
47-
'The configuration file to get the options from'
48-
)
45+
.option('--config <config>', 'The configuration file to get the options from')
4946
.option('--no-installation', 'Ignore dependency installation')
5047
.action((dest, opts) => {
5148
appPath = dest;

0 commit comments

Comments
 (0)