feat!: force to use the bin dir as the data dir (close #2108)

- move default log path to `data/log/log.log`
- replace `--conf` with `--data`
This commit is contained in:
Noah Hsu
2022-11-01 19:14:49 +08:00
parent 141419056d
commit 1c212f6c30
4 changed files with 31 additions and 14 deletions

View File

@ -1,8 +1,9 @@
package flags
var (
Config string // config file
Debug bool
NoPrefix bool
Dev bool
DataDir string
Debug bool
NoPrefix bool
Dev bool
ForceBinDir bool
)