wxiaoguang e9b13732f3 Refactor cmd setup and remove deadcode (#29313)
* use `setup(ctx, c.Bool("debug"))` like all other callers
* `setting.RunMode = "dev"` is a no-op.
* `if _, err := os.Stat(setting.RepoRootPath); err != nil` could be
simplified
2024-02-22 07:04:30 +00:00
..
2023-07-21 17:28:19 +08:00
2023-07-21 17:28:19 +08:00
2023-08-12 16:30:16 +00:00