hades-cli
Version:
Hades CLI developer tool
179 lines (128 loc) • 3.63 kB
Markdown
hades-cli
=========
Hades CLI developer tool
<!-- toc -->
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g hades-cli
$ hades COMMAND
running command...
$ hades (-v|--version|version)
hades-cli/1.4.4 darwin-x64 node-v14.15.1
$ hades --help [COMMAND]
USAGE
$ hades COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [`hades delete ELEMENTTYPE ELEMENTNAME`](#hades-delete-elementtype-elementname)
* [`hades generate ELEMENTTYPE`](#hades-generate-elementtype)
* [`hades hello`](#hades-hello)
* [`hades help [COMMAND]`](#hades-help-command)
* [`hades key`](#hades-key)
* [`hades load ELEMENTTYPE`](#hades-load-elementtype)
* [`hades new APPNAME`](#hades-new-appname)
* [`hades seed ELEMENTTYPE`](#hades-seed-elementtype)
## `hades delete ELEMENTTYPE ELEMENTNAME`
Delete elements
```
USAGE
$ hades delete ELEMENTTYPE ELEMENTNAME
ARGUMENTS
ELEMENTTYPE (bounded-context|b|module|m) Type element to delete
ELEMENTNAME Name element to create
OPTIONS
-h, --help show CLI help
```
_See code: [src/commands/delete.ts](https://github.com/techedge-group/hades-cli/blob/v1.4.4/src/commands/delete.ts)_
## `hades generate ELEMENTTYPE`
Generate hades elements [boundedContext, module]
```
USAGE
$ hades generate ELEMENTTYPE
ARGUMENTS
ELEMENTTYPE (bounded-context|b|module|m) Type element to create
OPTIONS
-f, --force
-h, --help show CLI help
-m, --module=module
```
_See code: [src/commands/generate.ts](https://github.com/techedge-group/hades-cli/blob/v1.4.4/src/commands/generate.ts)_
## `hades hello`
Test command
```
USAGE
$ hades hello
OPTIONS
-h, --help show CLI help
```
_See code: [src/commands/hello.ts](https://github.com/techedge-group/hades-cli/blob/v1.4.4/src/commands/hello.ts)_
## `hades help [COMMAND]`
display help for hades
```
USAGE
$ hades help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
```
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.2/src/commands/help.ts)_
## `hades key`
Generate private key and public key
```
USAGE
$ hades key
OPTIONS
-h, --help show CLI help
```
_See code: [src/commands/key.ts](https://github.com/techedge-group/hades-cli/blob/v1.4.4/src/commands/key.ts)_
## `hades load ELEMENTTYPE`
Load hades elements [bounded-context, module] from yaml file, located in the cliter folder
```
USAGE
$ hades load ELEMENTTYPE
ARGUMENTS
ELEMENTTYPE (bounded-context|b|module|m) Type element to create
OPTIONS
-b, --boundedContext=boundedContext
-f, --force
-h, --help show CLI help
-m, --module=module
-t, --tests
-v, --verbose
```
_See code: [src/commands/load.ts](https://github.com/techedge-group/hades-cli/blob/v1.4.4/src/commands/load.ts)_
## `hades new APPNAME`
Create new hades project
```
USAGE
$ hades new APPNAME
ARGUMENTS
APPNAME Type app name to create
OPTIONS
-c, --credentials
-h, --help show CLI help
```
_See code: [src/commands/new.ts](https://github.com/techedge-group/hades-cli/blob/v1.4.4/src/commands/new.ts)_
## `hades seed ELEMENTTYPE`
Seed database with bounded context or module selected
```
USAGE
$ hades seed ELEMENTTYPE
ARGUMENTS
ELEMENTTYPE (bounded-context|b|module|m) Type element to create
OPTIONS
-b, --boundedContext=boundedContext
-h, --help show CLI help
-l, --log
-m, --module=module
```
_See code: [src/commands/seed.ts](https://github.com/techedge-group/hades-cli/blob/v1.4.4/src/commands/seed.ts)_
<!-- commandsstop -->