ToolJet/cli/README.md
2022-03-18 10:15:29 +05:30

93 lines
1.7 KiB
Markdown

tooljet cli
=================
<!-- toc -->
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g @tooljet/cli
$ tooljet COMMAND
running command...
$ tooljet (--version)
@tooljet/cli/0.0.10 darwin-arm64 node-v16.13.1
$ tooljet --help [COMMAND]
USAGE
$ tooljet COMMAND
...
```
<!-- usagestop -->
Command should be executed inside `Tooljet` directory
# Commands
<!-- commands -->
* [`tooljet plugin create PLUGIN_NAME`](#tooljet-plugin-create-plugin_name)
* [`tooljet plugin delete PLUGIN_NAME`](#tooljet-plugin-delete-plugin_name)
* [`tooljet plugin install NPM_MODULE`](#tooljet-plugin-install-npm_module)
## `tooljet plugin create PLUGIN_NAME`
Create a new tooljet plugin
```
USAGE
$ tooljet plugin create [PLUGIN_NAME] [--type database|api|cloud-storage] [-b]
ARGUMENTS
PLUGIN_NAME Name of the plugin
FLAGS
-b, --build
--type=<option> <options: database|api|cloud-storage>
DESCRIPTION
Create a new tooljet plugin
EXAMPLES
$ tooljet plugin create <name> --type=<database | api | cloud-storage> [--build]
```
## `tooljet plugin delete PLUGIN_NAME`
Delete a tooljet plugin
```
USAGE
$ tooljet plugin delete [PLUGIN_NAME] [-b]
ARGUMENTS
PLUGIN_NAME Name of the plugin
FLAGS
-b, --build
DESCRIPTION
Delete a tooljet plugin
EXAMPLES
$ tooljet plugin delete <name> [--build]
```
## `tooljet plugin install NPM_MODULE`
Installs a new npm module inside a tooljet plugin
```
USAGE
$ tooljet plugin install [NPM_MODULE] --plugin <value>
ARGUMENTS
NPM_MODULE Name of the npm module
FLAGS
--plugin=<value> (required)
DESCRIPTION
Installs a new npm module inside a tooljet plugin
EXAMPLES
$ tooljet plugin install <npm_module> --plugin <plugin_name>
```
<!-- commandsstop -->