Skip to content

Commit

Permalink
Merge pull request #57 from bunnyshell/fix-add-profile
Browse files Browse the repository at this point in the history
fix add profile with --non-interactive
  • Loading branch information
mihaichitic authored Feb 21, 2024
2 parents 8044cc0 + feb74d6 commit 2fca1d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/configure/profile/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ func init() {
}

func askToFillContextOrSkip(profile *config.Profile) error {
if config.GetSettings().NonInteractive {
return nil
}

addContext, err := interactive.ConfirmWithHelp(
"Do you want to set a context for this profile?",
"Context is used to determine which organization, project, environment, and component to use when running commands.\n"+
Expand Down

0 comments on commit 2fca1d7

Please sign in to comment.