Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arthurdelamare/leon-cli
A CLI to create, upgrade packages and other features
https://github.com/arthurdelamare/leon-cli
cli leon leon-cli nodejs
Last synced: 6 days ago
JSON representation
A CLI to create, upgrade packages and other features
- Host: GitHub
- URL: https://github.com/arthurdelamare/leon-cli
- Owner: ArthurDelamare
- License: mit
- Created: 2020-04-16T13:03:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-26T14:28:43.000Z (over 2 years ago)
- Last Synced: 2023-07-31T23:41:50.648Z (over 1 year ago)
- Topics: cli, leon, leon-cli, nodejs
- Language: JavaScript
- Size: 41 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Leon-cli
## What is this project?
The purpose of this project is to create and manipulate packages of the personal assistant [Leon](https://github.com/leon-ai/leon) by using a CLI.For now, the development is still at an early stage.
## Prerequisites
- [Node.js](https://nodejs.org/en/) >= 10
- npm >= 5## Installation
```bash
# 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
```## Current features
### generate-package
Generate a package based on a name and options.leon **generate-package** *\* \[*options*\]
#### Arguments
Argument | Description
------------ | -------------
name | The name of the package#### Options
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-module
Generate a module based on a name and options.leon **generate-module** *\* \[*options*\]
#### Arguments
Argument | Description
------------ | -------------
name | The name of the module#### Options
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## Incoming features
### check-package
### train-expressions
### build
### start