1
0
Fork 0
out-of-tree/cmd/globals.go

19 lines
422 B
Go
Raw Permalink Normal View History

2024-02-17 22:38:43 +00:00
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"`
2024-02-20 13:25:31 +00:00
WorkDir string `help:"path to work directory" default:"./" type:"path" existingdir:""`
2024-02-17 22:38:43 +00:00
CacheURL url.URL
2024-02-20 13:25:31 +00:00
Remote bool `help:"run at remote server"`
RemoteAddr string `default:"localhost:63527"`
2024-02-17 22:38:43 +00:00
}