only show top level api group in help
This commit is contained in:
Родитель
1e8c7ade1b
Коммит
128dbca890
|
@ -91,25 +91,6 @@ function getGeneralHelpContents() {
|
|||
['', chalk.bold(`Use ${chalk.cyan('luis <api group> --help')} for details on a specific api group`)]
|
||||
]
|
||||
},
|
||||
{
|
||||
head: chalk.bold(` Where ${chalk.cyan('<action>')} is one of the following:`),
|
||||
table: [
|
||||
['get, g', 'Retrieves or reads the specified <target> or <subtarget> where applicable'],
|
||||
['create, c', 'Creates a new resource at the <target> or <subtarget> where applicable'],
|
||||
['list, l', `Retrieves a list of <target> or <subtarget> ${chalk.cyan.bold('--skip')} and ${chalk.cyan.bold('--take')} pagination arguments are optional`],
|
||||
['update, u', 'Updates an existing resource at <target> or <subtarget> where applicable'],
|
||||
['patch, p', 'Updates a partial resource at <target> or <subtarget> where applicable'],
|
||||
['delete, d', 'Deletes a resource at <target> or <subtarget> where applicable']
|
||||
]
|
||||
},
|
||||
{
|
||||
head: 'Arguments:',
|
||||
table: [
|
||||
['--in <path>', 'Specifies the input file path. Applicable for create, update and patch actions'],
|
||||
['--skip <integer>', 'Specifies the number of records to skip. Applicable for the list action only'],
|
||||
['--take <integer>', 'Specifies the number of records to take. Applicable for the list action only'],
|
||||
]
|
||||
},
|
||||
{
|
||||
head: 'Configuration and Overrides:',
|
||||
table: [
|
||||
|
|
Загрузка…
Ссылка в новой задаче