create-senhub-app
v4.3.5
Published
The official CLI to init a template of DApp on Senhub
Downloads
13
Readme
create-senhub-app
The official CLI to init a template of DApp on Senhub
Usage
$ npm install -g create-senhub-app
$ create-senhub-app COMMAND
running command...
$ create-senhub-app (--version)
create-senhub-app/4.3.5 linux-x64 node-v16.19.0
$ create-senhub-app --help [COMMAND]
USAGE
$ create-senhub-app COMMAND
...
Commands
create-senhub-app help [COMMANDS]
create-senhub-app init [PROJECT-NAME]
create-senhub-app manifest [ENV]
create-senhub-app publish
create-senhub-app help [COMMANDS]
Display help for create-senhub-app.
USAGE
$ create-senhub-app help [COMMANDS] [-n]
ARGUMENTS
COMMANDS Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for create-senhub-app.
See code: @oclif/plugin-help
create-senhub-app init [PROJECT-NAME]
Init a template of DApp on Senhub.
USAGE
$ create-senhub-app init [PROJECT-NAME] [-t module|embeded] [-f]
ARGUMENTS
PROJECT-NAME Your project name
FLAGS
-f, --force Overwrite existing directory. All files in the curent directory will be deleted.
-t, --template=<option> [default: module] Template for the new DApp.
<options: module|embeded>
DESCRIPTION
Init a template of DApp on Senhub.
EXAMPLES
$ create-senhub-app init my-dapp
See code: dist/commands/init.ts
create-senhub-app manifest [ENV]
Generate the manifest file of the application, which is to submit your application to Sentre Hub.
USAGE
$ create-senhub-app manifest [ENV] [-i <value>] [-o <value>]
ARGUMENTS
ENV (development|production) [default: production] The NODE_ENV to generate a corresponding manifest. Default:
production.
FLAGS
-i, --inDir=<value> The directory to your project.
-o, --outDir=<value> The directory to output the manifest file.
DESCRIPTION
Generate the manifest file of the application, which is to submit your application to Sentre Hub.
EXAMPLES
$ create-senhub-app manifest
See code: dist/commands/manifest.ts
create-senhub-app publish
Publish your applications to Sentre Hub. The manifest file will be automatically generated with production mode.
USAGE
$ create-senhub-app publish [-d <value>]
FLAGS
-d, --directory=<value> [default: /home/runner/work/sen-core/sen-core/packages/create-senhub-app/create-senhub-app.ma
nifest.json] The directory to the manifest file. Default option will automatically search the
manifest file in the current directory.
DESCRIPTION
Publish your applications to Sentre Hub. The manifest file will be automatically generated with production mode.
EXAMPLES
$ create-senhub-app publish
See code: dist/commands/publish.ts