mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Endpoint] [ES Archiver] Allowing create option to be passed through the cli for es archiver (#69191)
* Allowing create option to be passed through the cli * Using kebab casing
This commit is contained in:
parent
4f5e279d75
commit
646a212b7b
1 changed files with 2 additions and 1 deletions
|
@ -67,9 +67,10 @@ cmd
|
|||
.action((name, indices) => execute((archiver, { raw }) => archiver.save(name, indices, { raw })));
|
||||
|
||||
cmd
|
||||
.option('--use-create', 'use create instead of index for loading documents')
|
||||
.command('load <name>')
|
||||
.description('load the archive in --dir with <name>')
|
||||
.action((name) => execute((archiver) => archiver.load(name)));
|
||||
.action((name) => execute((archiver, { useCreate }) => archiver.load(name, { useCreate })));
|
||||
|
||||
cmd
|
||||
.command('unload <name>')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue