cyber-deployer-cli
CLI to deploy, upgrade and manage autonomous agents
Last updated a month ago by stefanionescu .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cyber-deployer-cli 
SYNC missed versions from official npm registry.

agentcli

CLI to deploy, upgrade and manage autonomous agents

oclif Version Downloads/week License

Usage

$ npm install -g deployercli
$ agent COMMAND
running command...
$ agent (-v|--version|version)
deployercli/1.0.0 linux-x64 node-v8.9.4
$ agent --help [COMMAND]
USAGE
  $ agent COMMAND
...

Commands

agent deleteAgent

Delete an agent

USAGE
  $ agent deleteAgent

OPTIONS
  -h, --help       show CLI help
  -n, --name=name  Name of the agent
  -v, --version    show CLI version

See code: src/commands/deleteAgent.js

agent deploy

Deploy agent on more hosts

USAGE
  $ agent deploy

OPTIONS
  -h, --help                             show CLI help
  -n, --name=name                        Name of agent
  -r, --responsesNumber=responsesNumber  On how many hosts you want the agent to be deployed
  -t, --time=time                        How much time do you want the agent to stay on the new hosts
  -v, --version                          show CLI version

See code: src/commands/deploy.js

agent fund

Give an agent money to survive

USAGE
  $ agent fund

OPTIONS
  -f, --funds=funds  How much money denominated in WEI is used to fund the agent
  -h, --help         show CLI help
  -n, --name=name    Name of agent
  -v, --version      show CLI version

See code: src/commands/fund.js

agent grant_autonomy

Make the agent fully autonomous (nobody can control it anymore)

USAGE
  $ agent grant_autonomy

OPTIONS
  -h, --help               show CLI help
  -n, --name=name          Name of agent
  -p, --position=position  Position of the agent in the array of the creator
  -v, --version            show CLI version

See code: src/commands/grant_autonomy.js

agent help [COMMAND]

display help for agent

USAGE
  $ agent help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

agent newAgent

Register a new agent

USAGE
  $ agent newAgent

OPTIONS
  -a, --source_hash=source_hash  The hash of the code
  -h, --help                     show CLI help
  -n, --name=name                Name of the agent
  -s, --source=source            Github URL of the agent
  -v, --version                  show CLI version

See code: src/commands/newAgent.js

agent registerAgent

Register the agent in the treasury contract

USAGE
  $ agent registerAgent

OPTIONS
  -h, --help       show CLI help
  -n, --name=name  Name of agent
  -v, --version    show CLI version

See code: src/commands/registerAgent.js

agent update_code

Update the code of an agent

USAGE
  $ agent update_code

OPTIONS
  -d, --hash=hash      Hash of the source code
  -h, --help           show CLI help
  -n, --name=name      Name of agent to update
  -s, --source=source  Github URL of the updated agent
  -v, --version        show CLI version

See code: src/commands/update_code.js

agent withdraw

Withdraw an agent from hosts

USAGE
  $ agent withdraw

OPTIONS
  -h, --help                     show CLI help
  -n, --name=name                Name of the agent
  -o, --hostsNumber=hostsNumber  From how many hosts you want the agent to withdraw
  -v, --version                  show CLI version

See code: src/commands/withdraw.js

agent withdrawFunds

Withdraw funds deposited for an agent

USAGE
  $ agent withdrawFunds

OPTIONS
  -h, --help       show CLI help
  -n, --name=name  Name of the agent
  -v, --version    show CLI version

See code: src/commands/withdrawFunds.js

Current Tags

  • 1.0.0                                ...           latest (a month ago)

1 Versions

  • 1.0.0                                ...           a month ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 0
Last Month 33
Dependencies (4)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |