The purpose of this project is to create and manipulate packages of the personal assistant Leon by using a CLI.
For now, the development is still at an early stage.
- Node.js >= 10
- npm >= 5
# Clone the repository
git clone -b master https://github.com/ArthurDelamare/leon-cli.git
# Go to the project root
cd leon-cli
# Install the dependencies
npm install
Generate a package based on a name and options.
leon generate-package <name> [options]
Argument | Description |
---|---|
name | The name of the package |
Option | Description |
---|---|
--flat=true|false | When true, create the files at the top level without creating a folder. Default: false Alias: -f |
--spoken-languages=string | Allow you to add languages for the expressions and answers. Repeat the option to add as many languages as you desire. Default: ['en'] Alias: -s |
Generate a module based on a name and options.
leon generate-module <name> [options]
Argument | Description |
---|---|
name | The name of the module |
Option | Description |
---|---|
--skip-tests=true|false | When true, skip the creation of test files. Default: false Alias: -s |
--programming-language=string | Allow you to choose the programming language of the generated module. Default: python Alias: -p |