feat: add Homebrew and Scoop publishing scripts, enhance versioning metadata
This commit is contained in:
+5
-4
@@ -91,11 +91,12 @@ func bootstrap(cmd *cli.Command) (*App, error) {
|
||||
// First-run UX: if there is genuinely no config yet, an interactive
|
||||
// session gets an inline wizard instead of a wall of "no profile
|
||||
// configured" errors — but never for `config ...` itself (that
|
||||
// subtree has its own explicit `init`) and never in a non-interactive
|
||||
// context (CI, pipes), where the tool must stay driven entirely by
|
||||
// flags/env instead of blocking on stdin.
|
||||
// subtree has its own explicit `init`), never for `version` (which
|
||||
// shouldn't need a Vault connection at all), and never in a
|
||||
// non-interactive context (CI, pipes), where the tool must stay
|
||||
// driven entirely by flags/env instead of blocking on stdin.
|
||||
leaf := cmd.Args().First()
|
||||
if !config.Exists(path) && IsInteractive() && leaf != "config" {
|
||||
if !config.Exists(path) && IsInteractive() && leaf != "config" && leaf != "version" {
|
||||
if _, err := runWizard(path); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user