Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.63 KB

README.md

File metadata and controls

37 lines (28 loc) · 1.63 KB

CLI

The CLI is meant to be an user but also a machine friendly way for interacting with Pocket Network.

The spirit of the documentation is to continuously update and inform the reader of the general scope of the node binary as breaking, rapid development occurs.

There are two modes of operating the CLI: Standard and Debug.

  • Standard: The default mode and is meant for users to interact with the network.
  • Debug: Intended for developers to interact with the network and debug issues. To enter debug mode, the CLI must be built with the -tags=debug build tag.

Commands

Command tree available here

Code Organization

├── cli
│   ├── account.go           # Account subcommand
│   ├── actor.go             # Actor (Application, Node, Fisherman, Validator) subcommands
│   ├── cmd.go               # main (root) command called by the entrypoint
│   ├── debug.go             # Debug subcommand
│   ├── doc
│   │   ├── CHANGELOG.md     # changelog
│   │   ├── README.md        # this file
│   │   └── commands         # commands specific documentation (generated from the commands metadata)
│   ├── docgen
│   │   └── main.go          # commands specific documentation generator
│   ├── gov.go               # Governance subcommand
│   ├── utils.go             # support functions
│   ├── system.go            # System subcommand
│   └── utils_test.go        # tests for the support functions
└── main.go                  # entrypoint