Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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