Package: litetokenscli
LITETOKENS-CLI#
#
#   ██▓     ██▓▄▄▄█████▓▓█████▄▄▄█████▓ ▒█████   ██ ▄█▀▓█████  ███▄    █   ██████ 
#  ▓██▒    ▓██▒▓  ██▒ ▓▒▓█   ▀▓  ██▒ ▓▒▒██▒  ██▒ ██▄█▒ ▓█   ▀  ██ ▀█   █ ▒██    ▒ 
#  ▒██░    ▒██▒▒ ▓██░ ▒░▒███  ▒ ▓██░ ▒░▒██░  ██▒▓███▄░ ▒███   ▓██  ▀█ ██▒░ ▓██▄   
#  ▒██░    ░██░░ ▓██▓ ░ ▒▓█  ▄░ ▓██▓ ░ ▒██   ██░▓██ █▄ ▒▓█  ▄ ▓██▒  ▐▌██▒  ▒   ██▒
#  ░██████▒░██░  ▒██▒ ░ ░▒████▒ ▒██▒ ░ ░ ████▓▒░▒██▒ █▄░▒████▒▒██░   ▓██░▒██████▒▒
#  ░ ▒░▓  ░░▓    ▒ ░░   ░░ ▒░ ░ ▒ ░░   ░ ▒░▒░▒░ ▒ ▒▒ ▓▒░░ ▒░ ░░ ▒░   ▒ ▒ ▒ ▒▓▒ ▒ ░
#  ░ ░ ▒  ░ ▒ ░    ░     ░ ░  ░   ░      ░ ▒ ▒░ ░ ░▒ ▒░ ░ ░  ░░ ░░   ░ ▒░░ ░▒  ░ ░
#    ░ ░    ▒ ░  ░         ░    ░      ░ ░ ░ ▒  ░ ░░ ░    ░      ░   ░ ░ ░  ░  ░  
#      ░  ░ ░              ░  ░            ░ ░  ░  ░      ░  ░         ░       ░  
#                                                                                 
#A command line tool, to quick set up, turn on/off (multiple) litetokens nodes(full/solidity), and monitor running status.PythonJDK3.7+1.8Learn more about litetokens onLITETOKENS Developer HubJoin the community onLITETOKENS DiscordSource code onGithubProject onPypiInstallpippip install --upgrade pippip install litetokenscliFAQs on installationHow to fix "fail to build a wheel for psutil" error?a. please check if you installed clang correctly, or install it using homebrew:brew install --with-toolchain llvmb. please check if you are using python 3.xHow to test in virtual environment?a. create virtual environmentpython3 -m venv venvb. activate venv. ./venv/bin/activatec. install litetokenscli in venvpip install litetokensclid. when done testing, or using the venv - to deactivate venvdeactivateUsageCommandFunctionsExample1Example2litetokens-cli init --versionInit dirs and fetch code.litetokens-cli initlitetokens-cli init --version 3.1.3litetokens-cli config --nettype --fullhttpport --solhttpport --fullgrpcport --solgrpcportCreate and customize config files.litetokens-cli configlitetokens-cli config --nettype main --fullhttpport 8500 --solhttpport 8600 --fullgrpcport 50051 --solgrpcport 5001litetokens-cli run --nodetypeRun node.litetokens-cli runlitetokens-cli run --nodetype sollitetokens-cli stop --pidStop node.litetokens-cli stoplitetokens-cli stop --pid 7777litetokens-cli status --nodeMonitor nodes status.litetokens-cli statuslitetokens-cli status --node 777litetokens-cli quickQuick start.litetokens-cli quicklitetokens-cli quicklitetokens-cli -h, --helpCheck help manual.litetokens-cli -hlitetokens-cli --helpoveralllitetokens-cli -husage: litetokens-cli [-h] {init,config,run,stop,status,quick} ...

which subcommand do you want?

optional arguments:
  -h, --help            show this help message and exit

subcommands:
  {init,config,run,stop,status,quick}
    init                Init dirs and fetch code.
    config              Create customize config files.
    run                 Run node.
    stop                Stop node.
    status              Monitor nodes status.
    quick               Quick start. (run a full private node by one command)subcommand: initlitetokens-cli init -husage: litetokens-cli init [-h] [--version VERSION]

optional arguments:
  -h, --help         show this help message and exit
  --version VERSION  specify java-litetokens versionsubcommand: configlitetokens-cli config -husage: litetokens-cli config [-h] [--nettype NETTYPE] [--fullhttpport FULLHTTPPORT]
                       [--solhttpport SOLHTTPPORT] [--fullrpcport FULLRPCPORT]
                       [--solrpcport SOLRPCPORT] [--enablememdb ENABLEMEMDB]

optional arguments:
  -h, --help            show this help message and exit
  --nettype NETTYPE     specify net type [main, private]
  --fullhttpport FULLHTTPPORT
                        specify full http port
  --solhttpport SOLHTTPPORT
                        specify solidity http port
  --fullrpcport FULLRPCPORT
                        specify full rpc port
  --solrpcport SOLRPCPORT
                        specify solidity rpc port
  --enablememdb ENABLEMEMDBsubcommand: runlitetokens-cli run -husage: litetokens-cli run [-h] [--nodetype NODETYPE]

optional arguments:
  -h, --help           show this help message and exit
  --nodetype NODETYPE  specify node type [full, sol]subcommand: stoplitetokens-cli stop -husage: litetokens-cli stop [-h] --pid PID

optional arguments:
  -h, --help  show this help message and exit
  --pid PID   stop node by given pidsubcommand: statuslitetokens-cli status -husage: litetokens-cli status [-h] [--node NODE]

optional arguments:
  -h, --help   show this help message and exit
  --node NODE  check specific node detail by pidChangelogIn doing[ ] run - filter nodes[ ] dump - fetch a dump[ ] init - add option to build from source code[ ] run - multiple (full) nodes[ ] robust - catch more errors and provide better error msg[ ] config -- add option to config to sync with newly deployed shasta testnet[ ] status -- add config setting in status jsonVersion 0.1.4[X] update to support version 3.2 fetch release, check version[X] compatible check with version 3.2 release, and update config handler[X] add more info message;[X] provide a more neat yet detail help info and commandVersion 0.1.3[X] run - check single ps status[X] keep track of all running nodes[X] run - monitor overall system status[X] set default value for all subcommand optionsVersion 0.1.2[X] catch download errors[X] add progress bar for download[X] colorful logo and msg[X] add more progress msg on ports config[X] add more progress msg on net_type config[X] add info msg type for instructions[X] move changelog to file[X] optimize progress barVersion 0.1.0[X] init - set up file folders, and get builds based on given version number[X] config - init basic config file in json format, and convert to java properties format and export[X] run - run a single main net full node[X] quick start[X] run - move 'run' to its handler, and async the call[X] stop - add sub cmd and its handler to stop all nodes (kill -15)[X] run - change log and data store location[X] config - add custom method to fire up private/shasta testnet[X] config - add custom method to change port number[X] config - add custom method to fire up solidity node[X] run - add option to run solidity node[X] pack to pip[X] Doc - add more instruction in readme file