CLI to work with Fluence network
npm install fluence-clifluence-cli
===========
CLI to work with Fluence network





sh-session
$ npm install -g fluence-cli
$ fluence COMMAND
running command...
$ fluence (-v|--version|version)
fluence-cli/0.0.1 linux-x64 node-v12.13.1
$ fluence --help [COMMAND]
USAGE
$ fluence COMMAND
...
`
Commands
* fluence add_blueprint
* fluence add_module
* fluence blueprints
* fluence call
* fluence create_service
* [fluence help [COMMAND]](#fluence-help-command)
* fluence interfaces
* fluence modulesfluence add_blueprintAdd a blueprint to a node.
`
USAGE
$ fluence add_blueprintOPTIONS
-P, --peer=peer (required) Host to connect to
-d, --deps=deps (required) List of blueprint dependencies
-h, --help show CLI help
-h, --host=host [default: 127.0.0.1] Host to connect to
-l, --logLevel=logLevel [default: info] 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent'
-n, --name=name (required) A name of a blueprint
-p, --port=port [default: 9100] Port to connect to
-s, --secretKey=secretKey Client's secret key. A new one will be generated and printed if this flag is not
specified
-t, --targetPeer=targetPeer Host to connect to
EXAMPLE
$ fluence add_blueprint
[
'..',
'..'
]
`_See code: src/commands/add_blueprint.ts_
fluence add_moduleAdd a module to a node.
`
USAGE
$ fluence add_moduleOPTIONS
-P, --peer=peer (required) Host to connect to
-a, --path=path (required) A path to a WASM module
-h, --help show CLI help
-h, --host=host [default: 127.0.0.1] Host to connect to
-l, --logLevel=logLevel [default: info] 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent'
-n, --name=name (required) A name of a module
-p, --port=port [default: 9100] Port to connect to
-s, --secretKey=secretKey Client's secret key. A new one will be generated and printed if this flag is not
specified
-t, --targetPeer=targetPeer Host to connect to
EXAMPLE
$ fluence add_module
[
'..',
'..'
]
`_See code: src/commands/add_module.ts_
fluence blueprintsGet a list of blueprints from a node.
`
USAGE
$ fluence blueprintsOPTIONS
-P, --peer=peer (required) Host to connect to
-h, --help show CLI help
-h, --host=host [default: 127.0.0.1] Host to connect to
-l, --logLevel=logLevel [default: info] 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent'
-p, --port=port [default: 9100] Port to connect to
-s, --secretKey=secretKey Client's secret key. A new one will be generated and printed if this flag is not
specified
-t, --targetPeer=targetPeer Host to connect to
EXAMPLE
$ fluence blueprints
[
'..',
'..'
]
`_See code: src/commands/blueprints.ts_
fluence callCall a service.
`
USAGE
$ fluence callOPTIONS
-P, --peer=peer (required) Host to connect to
-S, --service=service (required) Id of a service
-a, --args=args (required) Arguments
-f, --fname=fname Name of a function
-h, --help show CLI help
-h, --host=host [default: 127.0.0.1] Host to connect to
-l, --logLevel=logLevel [default: info] 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent'
-m, --module=module (required) Id of a module
-p, --port=port [default: 9100] Port to connect to
-s, --secretKey=secretKey Client's secret key. A new one will be generated and printed if this flag is not
specified
-t, --targetPeer=targetPeer (required) Host to connect to
EXAMPLE
$ fluence call
fluence call --host 134.209.186.43 --port 9100 --peer 12D3KooWPnLxnY71JDxvB3zbjKu9k1BCYNthGZw6iGrLYsR1RnWM -t
12D3KooWPnLxnY71JDxvB3zbjKu9k1BCYNthGZw6iGrLYsR1RnWM -S b9ec12ba-c69f-4cf3-991a-7590aec7b662 -m
811deb12-a9ab-4cba-b219-9b48ce7dd5ce -a "[\"123\"]" -f greeting
[
'..',
'..'
]
`_See code: src/commands/call.ts_
fluence create_serviceCreate a service by a blueprint.
`
USAGE
$ fluence create_serviceOPTIONS
-P, --peer=peer (required) Host to connect to
-b, --blueprint=blueprint (required) A blueprint to create a service
-h, --help show CLI help
-h, --host=host [default: 127.0.0.1] Host to connect to
-l, --logLevel=logLevel [default: info] 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent'
-p, --port=port [default: 9100] Port to connect to
-s, --secretKey=secretKey Client's secret key. A new one will be generated and printed if this flag is not
specified
-t, --targetPeer=targetPeer Host to connect to
EXAMPLE
$ fluence create_service
[
'..',
'..'
]
`_See code: src/commands/create_service.ts_
fluence help [COMMAND]display help for fluence
`
USAGE
$ fluence help [COMMAND]ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
`_See code: @oclif/plugin-help_
fluence interfacesGet a list of interfaces from a node.
`
USAGE
$ fluence interfacesOPTIONS
-P, --peer=peer (required) Host to connect to
-h, --help show CLI help
-h, --host=host [default: 127.0.0.1] Host to connect to
-l, --logLevel=logLevel [default: info] 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent'
-p, --port=port [default: 9100] Port to connect to
-s, --secretKey=secretKey Client's secret key. A new one will be generated and printed if this flag is not
specified
-t, --targetPeer=targetPeer Host to connect to
EXAMPLE
$ fluence interfaces
[
'..',
'..'
]
`_See code: src/commands/interfaces.ts_
fluence modulesGet a list of modules from a node.
`
USAGE
$ fluence modulesOPTIONS
-P, --peer=peer (required) Host to connect to
-h, --help show CLI help
-h, --host=host [default: 127.0.0.1] Host to connect to
-l, --logLevel=logLevel [default: info] 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent'
-p, --port=port [default: 9100] Port to connect to
-s, --secretKey=secretKey Client's secret key. A new one will be generated and printed if this flag is not
specified
-t, --targetPeer=targetPeer Host to connect to
EXAMPLE
$ fluence modules
[
'..',
'..'
]
``_See code: src/commands/modules.ts_