Command line interface for interactions with the ToolBox Network.
Project description
ToolBoxV2
** Command line interface for interactions with the ToolBox Network. **
- License: Apache Software License 2.0
Installation
pip install ToolBoxV2
-
Github
pip install git+https://github.com/markinhaus/toolboxv2.git
Usage
$ toolboxv2 -h
usage: toolboxv2 [-h] [-init INIT] [-f INIT_FILE] [-update] [--update-mod UPDATE_MOD] [--delete-ToolBoxV2 {allcli,dev,api,config,data,src,all} {allcli,dev,api,config,data,src,all}] [--delete-mod DELETE_MOD] [-v] [-mvn name]
[-n name] [-m {cli,dev,api,app}] [-p port] [-w host] [-l]
Welcome to the ToolBox cli
options:
-h, --help show this help message and exit
-init INIT ToolBoxV2 init (name) -> default : -n name = main
-f INIT_FILE, --init-file INIT_FILE
optional init flag init from config file or url
-update update ToolBox
--update-mod UPDATE_MOD
update ToolBox mod
--delete-ToolBoxV2 {allcli,dev,api,config,data,src,all} {allcli,dev,api,config,data,src,all}
delete ToolBox or mod | ToolBoxV2 --delete-ToolBoxV2
--delete-mod DELETE_MOD
delete ToolBoxV2 mod | ToolBox --delete-mod (mod-name)
-v, --get-version get version of ToolBox | ToolBoxV2 -v -n (mod-name)
-mvn name, --mod-version-name name
Name of mod
-n name, --name name Name of ToolBox
-m {cli,dev,api,app}, --modi {cli,dev,api,app}
Start ToolBox in different modes
-p port, --port port Specify a port for dev | api
-w host, --host host Specify a host for dev | api
-l, --load-all-mod-in-files
Setup
Set up main
$ ToolBoxV2 -init main -f init.config
~DESKTOP-GIT@>Exit
~DESKTOP-GIT@>y
$ ToolBoxV2 || ToolBoxV2 -n main
- Set up mod settings config / data
$ ToolBoxV2 -init {mod name} -n {name} -f {loc of init file}
~DESKTOP-GIT@>Exit
~DESKTOP-GIT@>y
First Start
$ ToolBoxV2 || ToolBoxV2 -n {name}
~DESKTOP-GIT@>load-mod cloudM
~DESKTOP-GIT:CLOUDM@>create-account
- enabling all mods in mods folder
$ ToolBoxV2 -l || ToolBoxV2 -n {name} -l
in TB:
~DESKTOP-GIT@>cloudM create-account
- or
~DESKTOP-GIT@>cloudM
~DESKTOP-GIT:CLOUDM@>cloudM create-account
- Log in
~DESKTOP-GIT:CLOUDM@>login username password
- or (commig in v 0.0.2)
~DESKTOP-GIT:CLOUDM@>login token
Credits
This package was created with Cookiecutter and the giswqs/pypackage project template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ToolBoxV2-0.0.1.tar.gz
(29.4 kB
view hashes)