You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exports[`cli completion tests for cac > cli option completion tests > should complete option for partial input '{partial: '--p', expected: '--port'}' 1`] =`
4
-
":4
4
+
"--port Specify port
5
+
:4
5
6
"
6
7
`;
7
8
@@ -38,22 +39,28 @@ vite.config.js Vite config file
38
39
`;
39
40
40
41
exports[`cli completion tests for cac > cli option value handling > should resolve port value correctly 1`] =`
41
-
":4
42
+
"--port=3000 Development server port
43
+
:4
42
44
"
43
45
`;
44
46
45
47
exports[`cli completion tests for cac > edge case completions for end with space > should keep suggesting the --port option if user typed partial but didn't end with space 1`] =`
46
-
":4
48
+
"--port Specify port
49
+
:4
47
50
"
48
51
`;
49
52
50
53
exports[`cli completion tests for cac > edge case completions for end with space > should suggest port values if user ends with space after \`--port\` 1`] =`
51
-
":4
54
+
"3000 Development server port
55
+
8080 Alternative port
56
+
:4
52
57
"
53
58
`;
54
59
55
60
exports[`cli completion tests for cac > edge case completions for end with space > should suggest port values if user typed \`--port=\` and hasn't typed a space or value yet 1`] =`
56
-
":4
61
+
"--port=3000 Development server port
62
+
--port=8080 Alternative port
63
+
:4
57
64
"
58
65
`;
59
66
@@ -102,6 +109,7 @@ exports[`cli completion tests for cac > short flag handling > should not show du
102
109
103
110
exports[`cli completion tests for cac > should complete cli options 1`] =`
0 commit comments