1
0

refactor: move commands to cmd/

This commit is contained in:
2024-02-17 22:38:43 +00:00
parent 1b3e23d188
commit 4e92950929
13 changed files with 66 additions and 60 deletions

15
cmd/globals.go Normal file
View File

@@ -0,0 +1,15 @@
package cmd
import (
"net/url"
"code.dumpstack.io/tools/out-of-tree/config"
)
type Globals struct {
Config config.OutOfTree `help:"path to out-of-tree configuration" default:"~/.out-of-tree/out-of-tree.toml"`
WorkDir string `help:"path to work directory" default:"./" type:"path"`
CacheURL url.URL
}