fluence air beautify [PATH]
fluence aqua
fluence aqua imports
fluence aqua json [INPUT] [OUTPUT]
fluence aqua yml [INPUT] [OUTPUT]
fluence autocomplete [SHELL]
fluence build
fluence chain info
fluence chain proof
fluence deal change-app [DEAL-ADDRESS] [NEW-APP-CID]
fluence deal create
fluence deal deposit [AMOUNT] [DEPLOYMENT-NAMES]
fluence deal info [DEPLOYMENT-NAMES]
fluence deal logs [DEPLOYMENT-NAMES]
fluence deal stop [DEPLOYMENT-NAMES]
fluence deal withdraw [AMOUNT] [DEPLOYMENT-NAMES]
fluence deal workers-add [DEPLOYMENT-NAMES]
fluence deal workers-remove [UNIT-IDS]
fluence default env [ENV]
fluence default peers [ENV]
fluence delegator collateral-add [IDS]
fluence delegator collateral-withdraw [IDS]
fluence delegator reward-withdraw [IDS]
fluence dep install [PACKAGE-NAME | PACKAGE-NAME@VERSION]
fluence dep reset
fluence dep uninstall PACKAGE-NAME
fluence dep versions
fluence deploy [DEPLOYMENT-NAMES]
fluence help [COMMANDS]
fluence init [PATH]
fluence key default [NAME]
fluence key new [NAME]
fluence key remove [NAME]
fluence local down
fluence local init
fluence local logs
fluence local ps
fluence local up
fluence module add [PATH | URL]
fluence module new [NAME]
fluence module remove [NAME | PATH | URL]
fluence provider cc-activate
fluence provider cc-create
fluence provider cc-info
fluence provider cc-update
fluence provider cc-withdraw-collateral
fluence provider cc-withdraw-rewards
fluence provider deal-exit [DEAL-IDS]
fluence provider deal-list
fluence provider deal-reward-info [DEAL-ADDRESS] [UNIT-ID]
fluence provider deal-withdraw [DEAL-IDS]
fluence provider gen
fluence provider init
fluence provider offer-create
fluence provider offer-info
fluence provider offer-update
fluence provider register
fluence provider signing-wallets
fluence provider tokens-distribute
fluence provider update
fluence run
fluence service add [PATH | URL]
fluence service new [NAME]
fluence service remove [NAME | PATH | URL]
fluence service repl [NAME | PATH | URL]
fluence spell build [SPELL-NAMES]
fluence spell new [NAME]
fluence update [CHANNEL]
Prints AIR script in human-readable Python-like representation. This representation cannot be executed and is intended to be read by mere mortals.
USAGE
$ fluence air beautify [PATH] [--no-input]
ARGUMENTS
PATH Path to an AIR file. Must be relative to the current working directory or absolute
FLAGS
--no-input Don't interactively ask for any input from the user
DESCRIPTION
Prints AIR script in human-readable Python-like representation. This representation cannot be executed and is intended
to be read by mere mortals.
ALIASES
$ fluence air b
See code: src/commands/air/beautify.ts
Compile aqua defined in 'compileAqua' property of fluence.yaml. If --input flag is used - then content of 'compileAqua' property in fluence.yaml will be ignored
USAGE
$ fluence aqua [-n <value>] [--no-input] [-w] [-o <value>] [--air | --js] [--import <value>] [-i
<value>] [--const <value>] [--log-level-compiler <value>] [--no-relay] [--no-xor] [--tracing] [--no-empty-response]
[--dry]
FLAGS
-i, --input=<path> Path to an aqua file or a directory that contains your aqua files
-n, --names=<value> Comma-separated names of the configs from 'compileAqua' property of fluence.yaml to
compile. If not specified, all configs will be compiled
-o, --output=<path> Path to the output directory. Must be relative to the current working directory or
absolute. Will be created if it doesn't exists
-w, --watch Watch aqua file or folder for changes and recompile
--air Generate .air file instead of .ts
--const=<NAME=value>... Constants to be passed to the compiler
--dry Checks if compilation succeeded, without output
--import=<path>... Path to a directory to import aqua files from. May be used several times
--js Generate .js file instead of .ts
--log-level-compiler=<level> Set log level for the compiler. Must be one of: all, trace, debug, info, warn,
error, off
--no-empty-response Do not generate response call if there are no returned values
--no-input Don't interactively ask for any input from the user
--no-relay Do not generate a pass through the relay node
--no-xor Do not generate a wrapper that catches and displays errors
--tracing Compile aqua in tracing mode (for debugging purposes)
DESCRIPTION
Compile aqua defined in 'compileAqua' property of fluence.yaml. If --input flag is used - then content of
'compileAqua' property in fluence.yaml will be ignored
EXAMPLES
$ fluence aqua
See code: src/commands/aqua.ts
Returns a list of aqua imports that CLI produces
USAGE
$ fluence aqua imports [--no-input]
FLAGS
--no-input Don't interactively ask for any input from the user
DESCRIPTION
Returns a list of aqua imports that CLI produces
See code: src/commands/aqua/imports.ts
Infers aqua types for an arbitrary json file, generates valid aqua code with a function call that returns an aqua object literal with the same structure as the json file. For valid generation please refer to aqua documentation https://fluence.dev/docs/aqua-book/language/ to learn about what kind of structures are valid in aqua language and what they translate into
USAGE
$ fluence aqua json [INPUT] [OUTPUT] [--no-input] [--f64] [--types <value>]
ARGUMENTS
INPUT Path to json file
OUTPUT Path to the output dir
FLAGS
--f64 Convert all numbers to f64. Useful for arrays objects that contain numbers of different types in them.
Without this flag, numbers will be converted to u64, i64 or f64 depending on their value
--no-input Don't interactively ask for any input from the user
--types=<path> Experimental! Path to a file with custom types. Must be a list with objects that have 'name' and
'properties'. 'properties' must be a list of all custom type properties
DESCRIPTION
Infers aqua types for an arbitrary json file, generates valid aqua code with a function call that returns an aqua
object literal with the same structure as the json file. For valid generation please refer to aqua documentation
https://fluence.dev/docs/aqua-book/language/ to learn about what kind of structures are valid in aqua language and
what they translate into
See code: src/commands/aqua/json.ts
Infers aqua types for an arbitrary yaml file, generates valid aqua code with a function call that returns an aqua object literal with the same structure as the yaml file. For valid generation please refer to aqua documentation https://fluence.dev/docs/aqua-book/language/ to learn about what kind of structures are valid in aqua language and what they translate into
USAGE
$ fluence aqua yml [INPUT] [OUTPUT] [--no-input] [--f64] [--types <value>]
ARGUMENTS
INPUT Path to yaml file
OUTPUT Path to the output dir
FLAGS
--f64 Convert all numbers to f64. Useful for arrays objects that contain numbers of different types in them.
Without this flag, numbers will be converted to u64, i64 or f64 depending on their value
--no-input Don't interactively ask for any input from the user
--types=<path> Experimental! Path to a file with custom types. Must be a list with objects that have 'name' and
'properties'. 'properties' must be a list of all custom type properties
DESCRIPTION
Infers aqua types for an arbitrary yaml file, generates valid aqua code with a function call that returns an aqua
object literal with the same structure as the yaml file. For valid generation please refer to aqua documentation
https://fluence.dev/docs/aqua-book/language/ to learn about what kind of structures are valid in aqua language and
what they translate into
ALIASES
$ fluence aqua yaml
See code: src/commands/aqua/yml.ts
Display autocomplete installation instructions.
USAGE
$ fluence autocomplete [SHELL] [-r]
ARGUMENTS
SHELL (zsh|bash|powershell) Shell type
FLAGS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
DESCRIPTION
Display autocomplete installation instructions.
EXAMPLES
$ fluence autocomplete
$ fluence autocomplete bash
$ fluence autocomplete zsh
$ fluence autocomplete powershell
$ fluence autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
Build all application services, described in fluence.yaml and generate aqua interfaces for them
USAGE
$ fluence build [--no-input] [--marine--args <value>] [--import <value>] [--env <value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--import=<path>... Path to a directory to import aqua files from. May be used several times
--marine-build-args=<--flag arg> Space separated `cargo build` flags and args to pass to marine build.
Overrides 'marineBuildArgs' property in fluence.yaml. Default: --release
--no-input Don't interactively ask for any input from the user
DESCRIPTION
Build all application services, described in fluence.yaml and generate aqua interfaces for them
EXAMPLES
$ fluence build
See code: src/commands/build.ts
Show contract addresses for the fluence environment and accounts for the local environment
USAGE
$ fluence chain info [--no-input] [--env <value>] [--priv-key <value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Show contract addresses for the fluence environment and accounts for the local environment
See code: src/commands/chain/info.ts
Send garbage proof for testing purposes
USAGE
$ fluence chain proof [--no-input] [--env <value>] [--priv-key <value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Send garbage proof for testing purposes
See code: src/commands/chain/proof.ts
Change app id in the deal
USAGE
$ fluence deal change-app [DEAL-ADDRESS] [NEW-APP-CID] [--no-input] [--env <value>] [--priv-key <value>]
ARGUMENTS
DEAL-ADDRESS Deal address
NEW-APP-CID New app CID for the deal
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Change app id in the deal
See code: src/commands/deal/change-app.ts
Create your deal with the specified parameters
USAGE
$ fluence deal create --app-cid <value> --collateral-per-worker <value> --min-workers <value> --target-workers
<value> --max-workers-per-provider <value> --price-per-worker-epoch <value> [--no-input] [--initial-balance <value>]
[--effectors <value>] [--whitelist <value> | --blacklist <value>] [--env <value>] [--priv-key <value>]
FLAGS
--app-cid=<value> (required) CID of the application that will be deployed
--blacklist=<value> Comma-separated list of blacklisted providers
--collateral-per-worker=<value> (required) Collateral per worker
--effectors=<value> Comma-separated list of effector to be used in the deal
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--initial-balance=<value> Initial balance
--max-workers-per-provider=<value> (required) Max workers per provider
--min-workers=<value> (required) Required workers to activate the deal
--no-input Don't interactively ask for any input from the user
--price-per-worker-epoch=<value> (required) Price per worker epoch
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
--target-workers=<value> (required) Max workers in the deal
--whitelist=<value> Comma-separated list of whitelisted providers
DESCRIPTION
Create your deal with the specified parameters
See code: src/commands/deal/create.ts
Deposit do the deal
USAGE
$ fluence deal deposit [AMOUNT] [DEPLOYMENT-NAMES] [--no-input] [--env <value>] [--priv-key <value>] [--deal-ids
<value>]
ARGUMENTS
AMOUNT Amount of USDC tokens to deposit
DEPLOYMENT-NAMES Comma separated names of deployments. Can't be used together with --deal-ids flag
FLAGS
--deal-ids=<id-1,id-2> Comma-separated deal ids of the deployed deal. Can't be used together
with DEPLOYMENT-NAMES arg
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Deposit do the deal
See code: src/commands/deal/deposit.ts
Get info about the deal
USAGE
$ fluence deal info [DEPLOYMENT-NAMES] [--no-input] [--env <value>] [--priv-key <value>] [--deal-ids <value>]
ARGUMENTS
DEPLOYMENT-NAMES Comma separated names of deployments. Can't be used together with --deal-ids flag
FLAGS
--deal-ids=<id-1,id-2> Comma-separated deal ids of the deployed deal. Can't be used together
with DEPLOYMENT-NAMES arg
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Get info about the deal
See code: src/commands/deal/info.ts
Get logs from deployed workers for deals listed in workers.yaml
USAGE
$ fluence deal logs [DEPLOYMENT-NAMES] [--no-input] [-k <value>] [--relay <value>] [--ttl <value>]
[--dial-timeout <value>] [--particle-id] [--env <value>] [--off-aqua-logs] [--tracing] [--deal-ids <value>] [--spell
<value>]
ARGUMENTS
DEPLOYMENT-NAMES Comma separated names of deployments. Can't be used together with --deal-ids flag
FLAGS
-k, --sk=<name> Name of the secret key for js-client inside CLI to use. If not
specified, will use the default key for the project. If there is no
fluence project or there is no default key, will use user's default
key
--deal-ids=<id-1,id-2> Comma-separated deal ids of the deployed deal. Can't be used together
with DEPLOYMENT-NAMES arg
--dial-timeout=<milliseconds> [default: 15000] Timeout for Fluence js-client to connect to relay
peer
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--off-aqua-logs Turns off logs from Console.print in aqua and from IPFS service
--particle-id Print particle ids when running Fluence js-client
--relay=<multiaddress> Relay for Fluence js-client to connect to
--spell=<spell-name> [default: worker-spell] Spell name to get logs for
--tracing Compile aqua in tracing mode (for debugging purposes)
--ttl=<milliseconds> [default: 15000] Particle Time To Live since 'now'. After that,
particle is expired and not processed.
DESCRIPTION
Get logs from deployed workers for deals listed in workers.yaml
EXAMPLES
$ fluence deal logs
See code: src/commands/deal/logs.ts
Stop the deal
USAGE
$ fluence deal stop [DEPLOYMENT-NAMES] [--no-input] [--env <value>] [--priv-key <value>] [--deal-ids <value>]
ARGUMENTS
DEPLOYMENT-NAMES Comma separated names of deployments. Can't be used together with --deal-ids flag
FLAGS
--deal-ids=<id-1,id-2> Comma-separated deal ids of the deployed deal. Can't be used together
with DEPLOYMENT-NAMES arg
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Stop the deal
See code: src/commands/deal/stop.ts
Withdraw tokens from the deal
USAGE
$ fluence deal withdraw [AMOUNT] [DEPLOYMENT-NAMES] [--no-input] [--env <value>] [--priv-key <value>] [--deal-ids
<value>]
ARGUMENTS
AMOUNT Amount of USDC tokens to withdraw
DEPLOYMENT-NAMES Comma separated names of deployments. Can't be used together with --deal-ids flag
FLAGS
--deal-ids=<id-1,id-2> Comma-separated deal ids of the deployed deal. Can't be used together
with DEPLOYMENT-NAMES arg
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Withdraw tokens from the deal
See code: src/commands/deal/withdraw.ts
Add missing workers to the deal
USAGE
$ fluence deal workers-add [DEPLOYMENT-NAMES] [--no-input] [--env <value>] [--priv-key <value>] [--deal-ids <value>]
ARGUMENTS
DEPLOYMENT-NAMES Comma separated names of deployments. Can't be used together with --deal-ids flag
FLAGS
--deal-ids=<id-1,id-2> Comma-separated deal ids of the deployed deal. Can't be used together
with DEPLOYMENT-NAMES arg
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Add missing workers to the deal
See code: src/commands/deal/workers-add.ts
Remove unit from the deal
USAGE
$ fluence deal workers-remove [UNIT-IDS] [--no-input] [--env <value>] [--priv-key <value>]
ARGUMENTS
UNIT-IDS Comma-separated compute unit ids. You can get them using 'fluence deal info' command
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Remove unit from the deal
See code: src/commands/deal/workers-remove.ts
Switch default Fluence Environment
USAGE
$ fluence default env [ENV] [--no-input]
ARGUMENTS
ENV Fluence Environment to use when running the command
FLAGS
--no-input Don't interactively ask for any input from the user
DESCRIPTION
Switch default Fluence Environment
EXAMPLES
$ fluence default env
See code: src/commands/default/env.ts
Print default Fluence network peer addresses
USAGE
$ fluence default peers [ENV] [--no-input]
ARGUMENTS
ENV Fluence Environment to use when running the command
FLAGS
--no-input Don't interactively ask for any input from the user
DESCRIPTION
Print default Fluence network peer addresses
EXAMPLES
$ fluence default peers
See code: src/commands/default/peers.ts
Add FLT collateral to capacity commitment
USAGE
$ fluence delegator collateral-add [IDS] [--no-input] [--env <value>] [--priv-key <value>]
ARGUMENTS
IDS Comma separated capacity commitment IDs
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Add FLT collateral to capacity commitment
ALIASES
$ fluence delegator ca
See code: src/commands/delegator/collateral-add.ts
Withdraw FLT collateral from capacity commitment
USAGE
$ fluence delegator collateral-withdraw [IDS] [--no-input] [--env <value>] [--priv-key <value>]
ARGUMENTS
IDS Comma separated capacity commitment IDs
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Withdraw FLT collateral from capacity commitment
ALIASES
$ fluence delegator cw
See code: src/commands/delegator/collateral-withdraw.ts
Withdraw FLT rewards from capacity commitment
USAGE
$ fluence delegator reward-withdraw [IDS] [--no-input] [--env <value>] [--priv-key <value>]
ARGUMENTS
IDS Comma separated capacity commitment IDs
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Withdraw FLT rewards from capacity commitment
ALIASES
$ fluence delegator rw
See code: src/commands/delegator/reward-withdraw.ts
Install aqua project dependencies (currently npm is used under the hood for managing aqua dependencies)
USAGE
$ fluence dep install [PACKAGE-NAME | PACKAGE-NAME@VERSION] [--no-input]
ARGUMENTS
PACKAGE-NAME | PACKAGE-NAME@VERSION Valid argument for npm install command. If this argument is omitted all project
aqua dependencies will be installed and command will also make sure marine and
mrepl are installed
FLAGS
--no-input Don't interactively ask for any input from the user
DESCRIPTION
Install aqua project dependencies (currently npm is used under the hood for managing aqua dependencies)
ALIASES
$ fluence dep i
EXAMPLES
$ fluence dep install
See code: src/commands/dep/install.ts
Reset all project dependencies to recommended versions
USAGE
$ fluence dep reset [--no-input]
FLAGS
--no-input Don't interactively ask for any input from the user
DESCRIPTION
Reset all project dependencies to recommended versions
ALIASES
$ fluence dep r
EXAMPLES
$ fluence dep reset
See code: src/commands/dep/reset.ts
Uninstall aqua project dependencies (currently npm is used under the hood for managing aqua dependencies)
USAGE
$ fluence dep uninstall PACKAGE-NAME [--no-input]
ARGUMENTS
PACKAGE-NAME Aqua dependency name
FLAGS
--no-input Don't interactively ask for any input from the user
DESCRIPTION
Uninstall aqua project dependencies (currently npm is used under the hood for managing aqua dependencies)
ALIASES
$ fluence dep un
EXAMPLES
$ fluence dep uninstall
See code: src/commands/dep/uninstall.ts
Get versions of all cli dependencies, including aqua, marine, mrepl and internal
USAGE
$ fluence dep versions [--no-input] [--default]
FLAGS
--default Display default npm and cargo dependencies and their versions for current CLI version. Default npm
dependencies are always available to be imported in Aqua
--no-input Don't interactively ask for any input from the user
DESCRIPTION
Get versions of all cli dependencies, including aqua, marine, mrepl and internal
ALIASES
$ fluence dep v
EXAMPLES
$ fluence dep versions
See code: src/commands/dep/versions.ts
Deploy according to 'deployments' property in fluence.yaml
USAGE
$ fluence deploy [DEPLOYMENT-NAMES] [--no-input] [--off-aqua-logs] [--env <value>] [--priv-key <value>]
[-k <value>] [--relay <value>] [--ttl <value>] [--dial-timeout <value>] [--particle-id] [--import <value>]
[--no-build] [--tracing] [--marine-build-args <value>] [--auto-match] [-u]
ARGUMENTS
DEPLOYMENT-NAMES Comma separated names of deployments. Can't be used together with --deal-ids flag
FLAGS
-k, --sk=<name> Name of the secret key for js-client inside CLI to use. If not
specified, will use the default key for the project. If there is no
fluence project or there is no default key, will use user's default
key
-u, --update Update your previous deployment
--[no-]auto-match Toggle automatic matching. Auto-matching is turned on by default
--dial-timeout=<milliseconds> [default: 15000] Timeout for Fluence js-client to connect to relay
peer
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--import=<path>... Path to a directory to import aqua files from. May be used several
times
--marine-build-args=<--flag arg> Space separated `cargo build` flags and args to pass to marine build.
Overrides 'marineBuildArgs' property in fluence.yaml. Default:
--release
--no-build Don't build the project before running the command
--no-input Don't interactively ask for any input from the user
--off-aqua-logs Turns off logs from Console.print in aqua and from IPFS service
--particle-id Print particle ids when running Fluence js-client
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags
is unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
key will be used by default
--relay=<multiaddress> Relay for Fluence js-client to connect to
--tracing Compile aqua in tracing mode (for debugging purposes)
--ttl=<milliseconds> [default: 15000] Particle Time To Live since 'now'. After that,
particle is expired and not processed.
DESCRIPTION
Deploy according to 'deployments' property in fluence.yaml
EXAMPLES
$ fluence deploy
See code: src/commands/deploy.ts
Display help for fluence.
USAGE
$ fluence 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 fluence.
See code: @oclif/plugin-help
Initialize fluence project
USAGE
$ fluence init [PATH] [--no-input] [-t <value>] [--env <value>] [--noxes <value>]
ARGUMENTS
PATH Project path
FLAGS
-t, --template=<value> Template to use for the project. One of: quickstart, minimal, ts, js
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--noxes=<value> Number of Compute Peers to generate when a new provider.yaml is
created
DESCRIPTION
Initialize fluence project
EXAMPLES
$ fluence init
See code: src/commands/init.ts
Set default key-pair for user or project
USAGE
$ fluence key default [NAME] [--no-input] [--user]
ARGUMENTS
NAME Key-pair name
FLAGS
--no-input Don't interactively ask for any input from the user
--user Set default key-pair for current user instead of current project
DESCRIPTION
Set default key-pair for user or project
EXAMPLES
$ fluence key default
See code: src/commands/key/default.ts
Generate key-pair and store it in user-secrets.yaml or project-secrets.yaml
USAGE
$ fluence key new [NAME] [--no-input] [--user] [--default]
ARGUMENTS
NAME Key-pair name
FLAGS
--default Set new key-pair as default for current project or user
--no-input Don't interactively ask for any input from the user
--user Generate key-pair for current user instead of generating key-pair for current project
DESCRIPTION
Generate key-pair and store it in user-secrets.yaml or project-secrets.yaml
EXAMPLES
$ fluence key new
See code: src/commands/key/new.ts
Remove key-pair from user-secrets.yaml or project-secrets.yaml
USAGE
$ fluence key remove [NAME] [--no-input] [--user]
ARGUMENTS
NAME Key-pair name
FLAGS
--no-input Don't interactively ask for any input from the user
--user Remove key-pair from current user instead of removing key-pair from current project
DESCRIPTION
Remove key-pair from user-secrets.yaml or project-secrets.yaml
EXAMPLES
$ fluence key remove
See code: src/commands/key/remove.ts
Stop currently running docker-compose.yaml using docker compose
USAGE
$ fluence local down [--no-input] [-v] [--flags <value>]
FLAGS
-v, --volumes Remove named volumes declared in the "volumes" section of the Compose file and anonymous
volumes attached to containers
--flags=<--flag arg> Space separated flags to pass to `docker compose`
--no-input Don't interactively ask for any input from the user
DESCRIPTION
Stop currently running docker-compose.yaml using docker compose
EXAMPLES
$ fluence local down
See code: src/commands/local/down.ts
Init docker-compose.yaml according to provider.yaml
USAGE
$ fluence local init [--no-input] [--env <value>] [--priv-key <value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Init docker-compose.yaml according to provider.yaml
EXAMPLES
$ fluence local init
See code: src/commands/local/init.ts
Display docker-compose.yaml logs
USAGE
$ fluence local logs [--no-input] [--flags <value>]
FLAGS
--flags=<--flag arg> Space separated flags to pass to `docker compose`
--no-input Don't interactively ask for any input from the user
DESCRIPTION
Display docker-compose.yaml logs
EXAMPLES
$ fluence local logs
See code: src/commands/local/logs.ts
List containers using docker compose
USAGE
$ fluence local ps [--no-input] [--flags <value>]
FLAGS
--flags=<--flag arg> Space separated flags to pass to `docker compose`
--no-input Don't interactively ask for any input from the user
DESCRIPTION
List containers using docker compose
EXAMPLES
$ fluence local ps
See code: src/commands/local/ps.ts
Run docker-compose.yaml using docker compose and set up provider using the first offer from the 'offers' section in provider.yaml file.
USAGE
$ fluence local up [--no-input] [--noxes <value>] [--timeout <value>] [--priv-key <value>] [--quiet-pull]
[-d] [--build] [--flags <value>]
FLAGS
-d, --detach Detached mode: Run containers in the background
--build Build images before starting containers
--flags=<--flag arg> Space separated flags to pass to `docker compose`
--no-input Don't interactively ask for any input from the user
--noxes=<value> Number of Compute Peers to generate when a new provider.yaml is created
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is unsecure. On
local network 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
--quiet-pull Pull without printing progress information
--timeout=<value> [default: 120] Timeout in seconds for attempting to register local network on local
peers
DESCRIPTION
Run docker-compose.yaml using docker compose and set up provider using the first offer from the 'offers' section in
provider.yaml file.
EXAMPLES
$ fluence local up
See code: src/commands/local/up.ts
Add module to service.yaml
USAGE
$ fluence module add [PATH | URL] [--no-input] [--name <value>] [--service <value>]
ARGUMENTS
PATH | URL Path to a module or url to .tar.gz archive
FLAGS
--name=<name> Override module name
--no-input Don't interactively ask for any input from the user
--service=<name | path> Service name from fluence.yaml or path to the service config or directory that contains
service.yaml
DESCRIPTION
Add module to service.yaml
EXAMPLES
$ fluence module add
See code: src/commands/module/add.ts
Create new marine module template
USAGE
$ fluence module new [NAME] [--no-input] [--path <value>] [--service <value>]
ARGUMENTS
NAME Module name
FLAGS
--no-input Don't interactively ask for any input from the user
--path=<path> Path to module dir (default: src/modules)
--service=<name | relative_path> Name or relative path to the service to add the created module to
DESCRIPTION
Create new marine module template
EXAMPLES
$ fluence module new
See code: src/commands/module/new.ts
Remove module from service.yaml
USAGE
$ fluence module remove [NAME | PATH | URL] [--no-input] [--service <value>]
ARGUMENTS
NAME | PATH | URL Module name from service.yaml, path to a module or url to .tar.gz archive
FLAGS
--no-input Don't interactively ask for any input from the user
--service=<name | path> Service name from fluence.yaml or path to the service directory
DESCRIPTION
Remove module from service.yaml
EXAMPLES
$ fluence module remove
See code: src/commands/module/remove.ts
Add FLT collateral to capacity commitment to activate it
USAGE
$ fluence provider cc-activate [--no-input] [--env <value>] [--priv-key <value>] [--nox-names <value> | --ids <value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--ids=<value> Comma separated capacity commitment IDs. Default: all noxes from
capacityCommitments property of the provider config
--no-input Don't interactively ask for any input from the user
--nox-names=<nox-1,nox-2> Comma-separated names of noxes from provider.yaml. To use all of your
noxes: --nox-names all
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Add FLT collateral to capacity commitment to activate it
ALIASES
$ fluence provider ca
See code: src/commands/provider/cc-activate.ts
Create Capacity commitment
USAGE
$ fluence provider cc-create [--no-input] [--env <value>] [--priv-key <value>] [--nox-names <value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--nox-names=<nox-1,nox-2> Comma-separated names of noxes from provider.yaml. To use all of your
noxes: --nox-names all
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Create Capacity commitment
ALIASES
$ fluence provider cc
See code: src/commands/provider/cc-create.ts
Get info about capacity commitments
USAGE
$ fluence provider cc-info [--no-input] [--nox-names <value>] [--env <value>] [--priv-key <value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--nox-names=<nox-1,nox-2> Comma-separated names of noxes from provider.yaml. To use all of your
noxes: --nox-names all
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Get info about capacity commitments
ALIASES
$ fluence provider ci
See code: src/commands/provider/cc-info.ts
Update Capacity commitment
USAGE
$ fluence provider cc-update [--no-input] [--env <value>] [--priv-key <value>] [--nox-names <value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--nox-names=<nox-1,nox-2> Comma-separated names of noxes from provider.yaml. To use all of your
noxes: --nox-names all
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Update Capacity commitment
ALIASES
$ fluence provider cu
See code: src/commands/provider/cc-update.ts
Withdraw FLT collateral from capacity commitments
USAGE
$ fluence provider cc-withdraw-collateral [--no-input] [--nox-names <value>] [--env <value>] [--priv-key <value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--nox-names=<nox-1,nox-2> Comma-separated names of noxes from provider.yaml. To use all of your
noxes: --nox-names all
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Withdraw FLT collateral from capacity commitments
ALIASES
$ fluence provider cwc
See code: src/commands/provider/cc-withdraw-collateral.ts
Withdraw FLT rewards from capacity commitments
USAGE
$ fluence provider cc-withdraw-rewards [--no-input] [--nox-names <value>] [--env <value>] [--priv-key <value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--nox-names=<nox-1,nox-2> Comma-separated names of noxes from provider.yaml. To use all of your
noxes: --nox-names all
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Withdraw FLT rewards from capacity commitments
ALIASES
$ fluence provider cwr
See code: src/commands/provider/cc-withdraw-rewards.ts
Exit from deal
USAGE
$ fluence provider deal-exit [DEAL-IDS] [--no-input] [--env <value>] [--priv-key <value>]
ARGUMENTS
DEAL-IDS Comma-separated deal ids
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Exit from deal
ALIASES
$ fluence provider de
See code: src/commands/provider/deal-exit.ts
List deals
USAGE
$ fluence provider deal-list [--no-input] [--env <value>] [--priv-key <value>] [--nox-names <value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--nox-names=<nox-1,nox-2> Comma-separated names of noxes from provider.yaml. To use all of your
noxes: --nox-names all
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
List deals
ALIASES
$ fluence provider dl
See code: src/commands/provider/deal-list.ts
Deal reward info
USAGE
$ fluence provider deal-reward-info [DEAL-ADDRESS] [UNIT-ID] [--no-input] [--env <value>] [--priv-key <value>]
ARGUMENTS
DEAL-ADDRESS Deal address
UNIT-ID Compute unit ID
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Deal reward info
ALIASES
$ fluence provider dri
See code: src/commands/provider/deal-reward-info.ts
Withdraw USDC rewards from deals
USAGE
$ fluence provider deal-withdraw [DEAL-IDS] [--no-input] [--env <value>] [--priv-key <value>]
ARGUMENTS
DEAL-IDS Deal ids
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Withdraw USDC rewards from deals
ALIASES
$ fluence provider dw
See code: src/commands/provider/deal-withdraw.ts
Generate Config.toml files according to provider.yaml and secrets according to provider-secrets.yaml
USAGE
$ fluence provider gen [--no-input] [--noxes <value>] [--env <value>] [--priv-key <value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--noxes=<value> Number of Compute Peers to generate when a new provider.yaml is created
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Generate Config.toml files according to provider.yaml and secrets according to provider-secrets.yaml
EXAMPLES
$ fluence provider gen
See code: src/commands/provider/gen.ts
Init provider config. Creates a provider.yaml file
USAGE
$ fluence provider init [--no-input] [--noxes <value>] [--env <value>] [--priv-key <value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--noxes=<value> Number of Compute Peers to generate when a new provider.yaml is created
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Init provider config. Creates a provider.yaml file
See code: src/commands/provider/init.ts
Create offers. You have to be registered as a provider to do that
USAGE
$ fluence provider offer-create [--no-input] [--env <value>] [--priv-key <value>] [--offer <value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--offer=<offer-1,offer-2> Comma-separated list of offer names. Can't be used together with
--offer-ids. To use all of your offers: --offer all
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Create offers. You have to be registered as a provider to do that
ALIASES
$ fluence provider oc
See code: src/commands/provider/offer-create.ts
Get info about offers
USAGE
$ fluence provider offer-info [--no-input] [--offer <value> | --offer-ids <value>] [--env <value>] [--priv-key
<value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--offer=<offer-1,offer-2> Comma-separated list of offer names. Can't be used together with
--offer-ids. To use all of your offers: --offer all
--offer-ids=<id-1,id-2> Comma-separated list of offer ids. Can't be used together with --offer
flag
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Get info about offers
ALIASES
$ fluence provider oi
See code: src/commands/provider/offer-info.ts
Update offers
USAGE
$ fluence provider offer-update [--no-input] [--offer <value>] [--env <value>] [--priv-key <value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--offer=<offer-1,offer-2> Comma-separated list of offer names. Can't be used together with
--offer-ids. To use all of your offers: --offer all
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Update offers
ALIASES
$ fluence provider ou
See code: src/commands/provider/offer-update.ts
Register as a provider
USAGE
$ fluence provider register [--no-input] [--env <value>] [--priv-key <value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Register as a provider
ALIASES
$ fluence provider r
See code: src/commands/provider/register.ts
Print nox signing wallets
USAGE
$ fluence provider signing-wallets [--no-input] [--env <value>] [--priv-key <value>] [--nox-names <value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--nox-names=<nox-1,nox-2> Comma-separated names of noxes from provider.yaml. To use all of your
noxes: --nox-names all
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Print nox signing wallets
ALIASES
$ fluence provider sw
See code: src/commands/provider/signing-wallets.ts
Distribute FLT tokens to noxes
USAGE
$ fluence provider tokens-distribute [--no-input] [--env <value>] [--priv-key <value>] [--nox-names <value>] [--amount
<value>]
FLAGS
--amount=<value> Amount of FLT tokens to distribute to noxes
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--nox-names=<nox-1,nox-2> Comma-separated names of noxes from provider.yaml. To use all of your
noxes: --nox-names all
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Distribute FLT tokens to noxes
ALIASES
$ fluence provider td
See code: src/commands/provider/tokens-distribute.ts
Update provider info
USAGE
$ fluence provider update [--no-input] [--env <value>] [--priv-key <value>]
FLAGS
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--no-input Don't interactively ask for any input from the user
--priv-key=<private-key> !WARNING! for debug purposes only. Passing private keys through flags is
unsecure. On local network
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 key
will be used by default
DESCRIPTION
Update provider info
ALIASES
$ fluence provider u
See code: src/commands/provider/update.ts
Run the first aqua function CLI is able to find and compile among all aqua files specified in 'compileAqua' property of fluence.yaml file. If --input flag is used - then content of 'compileAqua' property in fluence.yaml will be ignored
USAGE
$ fluence run [--no-input] [--data <value>] [--data-path <value>] [--quiet] [-f <value>] [--print-air |
-b] [--off-aqua-logs] [-k <value>] [--relay <value>] [--ttl <value>] [--dial-timeout <value>] [--particle-id] [--env
<value>] [--import <value>] [-i <value>] [--const <value>] [--log-level-compiler <value>] [--no-relay] [--no-xor]
[--tracing] [--no-empty-response]
FLAGS
-b, --print-beautified-air Prints beautified AIR code instead of function execution
-f, --func=<function-call> Function call. Example: funcName("stringArg")
-i, --input=<path> Path to an aqua file or a directory that contains your aqua files
-k, --sk=<name> Name of the secret key for js-client inside CLI to use. If not
specified, will use the default key for the project. If there is no
fluence project or there is no default key, will use user's default
key
--const=<NAME=value>... Constants to be passed to the compiler
--data=<json> JSON in { [argumentName]: argumentValue } format. You can call a
function using these argument names like this: -f
'myFunc(argumentName)'. Arguments in this flag override arguments in
the --data-path flag
--data-path=<path> Path to a JSON file in { [argumentName]: argumentValue } format. You
can call a function using these argument names like this: -f
'myFunc(argumentName)'. Arguments in this flag can be overridden
using --data flag
--dial-timeout=<milliseconds> [default: 15000] Timeout for Fluence js-client to connect to relay
peer
--env=<dar | stage | kras | local | custom> Fluence Environment to use when running the command
--import=<path>... Path to a directory to import aqua files from. May be used several
times
--log-level-compiler=<level> Set log level for the compiler. Must be one of: all, trace, debug,
info, warn, error, off
--no-empty-response Do not generate response call if there are no returned values
--no-input Don't interactively ask for any input from the user
--no-relay Do not generate a pass through the relay node
--no-xor Do not generate a wrapper that catches and displays errors
--off-aqua-logs Turns off logs from Console.print in aqua and from IPFS service
--particle-id Print particle ids when running Fluence js-client
--print-air Prints generated AIR code instead of function execution
--quiet Print only execution result. Overrides all --log-level-* flags
--relay=<multiaddress> Relay for Fluence js-client to connect to
--tracing Compile aqua in tracing mode (for debugging purposes)
--ttl=<milliseconds> [default: 15000] Particle Time To Live since 'now'. After that,
particle is expired and not processed.
DESCRIPTION
Run the first aqua function CLI is able to find and compile among all aqua files specified in 'compileAqua' property
of fluence.yaml file. If --input flag is used - then content of 'compileAqua' property in fluence.yaml will be ignored
EXAMPLES
$ fluence run -f 'funcName("stringArg")'
See code: src/commands/run.ts
Add service to fluence.yaml
USAGE
$ fluence service add [PATH | URL] [--no-input] [--name <value>] [--marine-build-args <value>]
ARGUMENTS
PATH | URL Path to a service or url to .tar.gz archive
FLAGS
--marine-build-args=<--flag arg> Space separated `cargo build` flags and args to pass to marine build. Overrides
'marineBuildArgs' property in fluence.yaml. Default: --release
--name=<name> Override service name (must start with a lowercase letter and contain only letters,
numbers, and underscores)
--no-input Don't interactively ask for any input from the user
DESCRIPTION
Add service to fluence.yaml
EXAMPLES
$ fluence service add
See code: src/commands/service/add.ts
Create new marine service template
USAGE
$ fluence service new [NAME] [--no-input] [--path <value>]
ARGUMENTS
NAME Unique service name (must start with a lowercase letter and contain only letters, numbers, and underscores)
FLAGS
--no-input Don't interactively ask for any input from the user
--path=<path> Path to services dir (default: src/services)
DESCRIPTION
Create new marine service template
EXAMPLES
$ fluence service new
See code: src/commands/service/new.ts
Remove service from fluence.yaml services property and from all of the workers
USAGE
$ fluence service remove [NAME | PATH | URL] [--no-input]
ARGUMENTS
NAME | PATH | URL Service name from fluence.yaml, path to a service or url to .tar.gz archive
FLAGS
--no-input Don't interactively ask for any input from the user
DESCRIPTION
Remove service from fluence.yaml services property and from all of the workers
EXAMPLES
$ fluence service remove
See code: src/commands/service/remove.ts
Open service inside repl (downloads and builds modules if necessary)
USAGE
$ fluence service repl [NAME | PATH | URL] [--no-input] [--marine-build-args <value>]
ARGUMENTS
NAME | PATH | URL Service name from fluence.yaml, path to a service or url to .tar.gz archive
FLAGS
--marine-build-args=<--flag arg> Space separated `cargo build` flags and args to pass to marine build. Overrides
'marineBuildArgs' property in fluence.yaml. Default: --release
--no-input Don't interactively ask for any input from the user
DESCRIPTION
Open service inside repl (downloads and builds modules if necessary)
EXAMPLES
$ fluence service repl
See code: src/commands/service/repl.ts
Compile spells aqua
USAGE
$ fluence spell build [SPELL-NAMES] [--no-input] [--import <value>]
ARGUMENTS
SPELL-NAMES Comma separated names of spells to build. Example: "spell1,spell2" (by default all spells from 'spells'
property in fluence.yaml will be built)
FLAGS
--import=<path>... Path to a directory to import aqua files from. May be used several times
--no-input Don't interactively ask for any input from the user
DESCRIPTION
Compile spells aqua
EXAMPLES
$ fluence spell build
See code: src/commands/spell/build.ts
Create a new spell template
USAGE
$ fluence spell new [NAME] [--no-input] [--path <value>]
ARGUMENTS
NAME Spell name
FLAGS
--no-input Don't interactively ask for any input from the user
--path=<path> Path to spells dir (default: src/spells)
DESCRIPTION
Create a new spell template
EXAMPLES
$ fluence spell new
See code: src/commands/spell/new.ts
update the fluence CLI
USAGE
$ fluence update [CHANNEL] [-a] [--force] [-i | -v <value>]
FLAGS
-a, --available See available versions.
-i, --interactive Interactively select version to install. This is ignored if a channel is provided.
-v, --version=<value> Install a specific version.
--force Force a re-download of the requested version.
DESCRIPTION
update the fluence CLI
EXAMPLES
Update to the stable channel:
$ fluence update stable
Update to a specific version:
$ fluence update --version 1.0.0
Interactively select version:
$ fluence update --interactive
See available versions:
$ fluence update --available
See code: @oclif/plugin-update