@@ -147,10 +147,10 @@ func TestAutocomplete(t *testing.T) {
147
147
t .Run ("scw test flower delete hibiscus with-leaves=tr" , run (& testCase {Suggestions : AutocompleteSuggestions {"with-leaves=true" }}))
148
148
t .Run ("scw test flower delete hibiscus with-leaves=yes" , run (& testCase {Suggestions : nil }))
149
149
t .Run ("scw test flower create leaves.0.size=" , run (& testCase {Suggestions : AutocompleteSuggestions {"leaves.0.size=L" , "leaves.0.size=M" , "leaves.0.size=S" , "leaves.0.size=XL" , "leaves.0.size=XXL" }}))
150
- t .Run ("scw -" , run (& testCase {Suggestions : AutocompleteSuggestions {"--debug" , "--help" , "--output" , "--profile" , "-D" , "-h" , "-o" , "-p" }}))
150
+ t .Run ("scw -" , run (& testCase {Suggestions : AutocompleteSuggestions {"--config" , "-- debug" , "--help" , "--output" , "--profile" , "-D" , "-c " , "-h" , "-o" , "-p" }}))
151
151
t .Run ("scw test -o j" , run (& testCase {Suggestions : AutocompleteSuggestions {"json" }}))
152
152
t .Run ("scw test flower -o " , run (& testCase {Suggestions : AutocompleteSuggestions {PrinterTypeHuman .String (), PrinterTypeJSON .String (), PrinterTypeTemplate .String (), PrinterTypeYAML .String ()}}))
153
- t .Run ("scw test flower -o json create -" , run (& testCase {Suggestions : AutocompleteSuggestions {"--debug" , "--help" , "--output" , "--profile" , "--wait" , "-D" , "-h" , "-p" , "-w" }}))
153
+ t .Run ("scw test flower -o json create -" , run (& testCase {Suggestions : AutocompleteSuggestions {"--config" , "-- debug" , "--help" , "--output" , "--profile" , "--wait" , "-D" , "-c " , "-h" , "-p" , "-w" }}))
154
154
t .Run ("scw test flower create name=p -o j" , run (& testCase {Suggestions : AutocompleteSuggestions {"json" }}))
155
155
t .Run ("scw test flower create name=p -o json " , run (& testCase {Suggestions : AutocompleteSuggestions {"colours.0=" , "leaves." , "size=" , "species=" }}))
156
156
t .Run ("scw test flower create name=p -o=json " , run (& testCase {Suggestions : AutocompleteSuggestions {"colours.0=" , "leaves." , "size=" , "species=" }}))
@@ -161,7 +161,7 @@ func TestAutocomplete(t *testing.T) {
161
161
t .Run ("scw test --profile xxxx flower create name=p " , run (& testCase {Suggestions : AutocompleteSuggestions {"colours.0=" , "leaves." , "size=" , "species=" }}))
162
162
t .Run ("scw test flower create name=p --profile xxxx" , run (& testCase {Suggestions : nil }))
163
163
164
- t .Run ("scw test flower -o json delete -" , run (& testCase {Suggestions : AutocompleteSuggestions {"--debug" , "--help" , "--output" , "--profile" , "-D" , "-h" , "-p" }}))
164
+ t .Run ("scw test flower -o json delete -" , run (& testCase {Suggestions : AutocompleteSuggestions {"--config" , "-- debug" , "--help" , "--output" , "--profile" , "-D" , "-c " , "-h" , "-p" }}))
165
165
t .Run ("scw test flower delete -o " , run (& testCase {Suggestions : AutocompleteSuggestions {PrinterTypeHuman .String (), PrinterTypeJSON .String (), PrinterTypeTemplate .String (), PrinterTypeYAML .String ()}}))
166
166
t .Run ("scw test flower delete -o j" , run (& testCase {Suggestions : AutocompleteSuggestions {"json" }}))
167
167
t .Run ("scw test flower delete -o json " , run (& testCase {Suggestions : AutocompleteSuggestions {"anemone" , "hibiscus" , "with-leaves=" }}))
0 commit comments