@abtnode/cli

Command line tools to manage ABT Node

Usage no npm install needed!

<script type="module">
  import abtnodeCli from 'https://cdn.skypack.dev/@abtnode/cli';
</script>

README

ABT Node CLI

This package contains 2 command utilities to manage ABT Node and Blocklets

  • abtnode: manage ABT Node instances, such as init/start/stop/export, designed for DevOps
  • blocklet: manage blocklets, such as init/dev/bundle/deploy/publish, designed for developers

Getting Started

# install
npm install -g @abtnode/cli

# initialize and start a new node
abtnode init -f
abtnode start

Now your ABT Node is up and running.

abtnode command

Usage: abtnode [options] [command]

Options:
  -V, --version              output the version number
  -c --config [node-config]  ABT Node configuration file
  -y --yes                   Automatic yes to prompts (default: false)
                             (default: false)
  -h, --help                 display help for command

Commands:
  start [options]            Start ABT Node Daemon
  init [options]             Init ABT Node config
  status                     Show ABT Node and blocklet status
  logs                       Show ABT Node and blocklet logs
  stop [options]             Stop ABT Node and blocklets
  info [options]             Get environment information for debugging and
                             issue reporting
  upgrade                    Self-Upgrade ABTNode
  export [options]           Eject a ABT Node config that can be shared with
                             others
  help [command]             display help for command

None of the above command seems help? Consider command line utility blocklet.

blocklet command

Usage: blocklet [options] [command]

Options:
  -V, --version                   output the version number
  -y --yes                        Automatic yes to prompts (default: false)
                                  (default: false)
  -h, --help                      display help for command

Commands:
  bundle [options]                Bundle a blocklet that can run in ABT Node
  deploy [options] <folder>       Deploy blocklet from local directory to ABT
                                  Node
  dev [options] [action]          Develop blocklet from current directory
  init [options]                  Create an empty blocklet project
  meta                            Print blocklet meta from a directory
  version [options] [newVersion]  Bump blocklet version and persist to disk
  migrate [options]               Migrate blocklet meta to latest version for
                                  a blocklet
  publish [options] [metafile]    Publish the blocklet release to registry
  config [options] [key] [value]  Manage the ABT Node configuration files
  developer:init                  Initialize developer-related data, includes
                                  developer wallet
  help [command]                  display help for command

None of the above command seems help? Consider command line utility abtnode.

Documentation

https://docs.arcblock.io/en/abtnode/