This package has been deprecated. Please use Kourou, the new CLI instead.
The Kuzzle Command Line Interface.
npm install -g kuzzle-cli
kuzzle <options> <command> <command options>
Options:
-p, --port <port> : Kuzzle port number
-h, --host <host> : Kuzzle host name or IP address
-U, --username <username> : Username
-P, --password <password> : Password
-d, --debug : Print debug messages
-C, --noColors : Do not use ANSI coloring
--help : Get command help
Create the first administrator user.
Clear Kuzzle internal cache.
Reset all users, profiles, roles and documents validation specifications
Options:
--noint : non interactive mode
Decrypt a secrets file with the provided key.
Options:
--vault-key <vaultKey> : Vault key used to decrypt secrets
--output-file <outputFile> : Output file to write decrypted secrets
--noint : non interactive mode
Create a dump of the current state of a kuzzle instance. The dumped directory can then be found in the <KUZZLE_ROOT>/dump
directory of the dumped instance.
Encrypt a secrets file with the provided key.
Options:
--vault-key <vaultKey> : Vault key used to encrypt secrets
--output-file <outputFile> : Output file to write encrypted secrets
--noint : non interactive mode
Dump an entire index in the specified directory
Options:
--batch-size <batchSize> : Maximum batch size (see limits.documentsFetchCount config)
Restore the content of a previously dumped index.
Options:
--batch-size <batchSize> : Maximum batch size (see limits.documentsWriteCount config)
Load database mappings into Kuzzle.
Load database fixtures into Kuzzle.
Load roles, profiles and users into Kuzzle.
Reset all users, profiles and roles.
Options:
--noint : non interactive mode
Remove all data stored on Kuzzle.
Options:
--noint : non interactive mode
Initiate a graceful shutdown.