Open erichanson opened 3 years ago
New Go server needs to support some CLI options. Design TBD but general options include:
-v
--version
version
-h
--help
help
-c
--config
config
conf/boot.toml
conf/bootloader.toml
-b
--bootloader
bootloader
-p
--port
--host
If both config file and CLI arguments exist, fail.
New Go server needs to support some CLI options. Design TBD but general options include:
-v
,--version
,version
-h
,--help
,help
-c
,--config
,config
- boot from specified config file. defaults toconf/boot.toml
if present, orconf/bootloader.toml
as a fallback-b
,--bootloader
,bootloader
- useconf/bootloader.toml
as config file-p
,--port
- database port-h
,--host
- database hostIf both config file and CLI arguments exist, fail.