We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 440a72e commit 5efae26Copy full SHA for 5efae26
cmd/bit_cmd.go
@@ -23,14 +23,13 @@ var BitCmd = &cobra.Command{
23
Run: func(cmd *cobra.Command, args []string) {
24
suggestionTree, bitCmdMap := CreateSuggestionMap(cmd)
25
26
- repeat := os.Getenv("BIT_INTERACTIVE") == "TRUE"
+ repeat := strings.ToLower(os.Getenv("BIT_INTERACTIVE")) == "true"
27
repeatAmount := 1
28
if repeat {
29
repeatAmount = 5000
30
}
31
32
-
33
- for i := repeatAmount; i > 0; i-- {
+ for i := repeatAmount; i > 0; i-- {
34
resp := SuggestionPrompt("> bit ", shellCommandCompleter(suggestionTree))
35
subCommand := resp
36
if subCommand == "" {
0 commit comments