Closed mastersign closed 7 years ago
The new CLI should be implemented in C# and named bench.exe
. It should reside in the same folder as BenchDachboard.exe
and this folder should be on the environment variable BENCH_PATH
.
For project commands see #24
Finished the new CLI, despite the project related commands.
Syntax
bench
-?
bench
[options*]
<command>
[arguments*]
Examples:
bench
-r
C:\bench
--verbose
setup
bench
app
launch
VSCode
D:\docs\index.html
Flags
--verbose
,--verb
,-v
Display verbose information--yes
,--force
,-y
Do not ask for assuranceOptions
--root
,-r
<path to root dir>
Bench root folder--logfile
,--log
,-l
<path to logfile>
Path to log file--doc-format
,-d
<format>
Output format of documentation contentCommands
General
help
,h
dashboard
,gui
,b
Listing
list
,l
apps
,a
files
,f
applibs
,l
Management
manage
,m
initialize
,init
,i
setup
,s
update-env
,env
,e
reinstall
,r
renew
,n
upgrade
,u
Configuration
manage
→config
,cfg
,c
get
,g
<property name>
set
,s
<property name>
<value>
edit
,e
Downloads
manage
→downloads
,cache
,dl
,d
clean
,c
purge
,x
download
,d
Apps
app
,a
info
,i
<app ID>
property
,prop
,p
<app ID>
<property name>
list-properties
,list
,l
<app ID>
activate
,a
<app ID>
deactivate
,d
<app ID>
download
,cache
,c
<app ID>
install
,setup
,s
<app ID>
reinstall
,r
<app ID>
upgrade
,u
<app ID>
uninstall
,remove
,x
<app ID>
execute
,exec
,launch
,run
,e
<app ID>
[args*]
Projects
project
,prj
,p
Not Implemented Yet.