Skip to content

Commit a1a14f2

Browse files
authored
feat: support to install jcli automatically (#24)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
1 parent abf4720 commit a1a14f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/shell_runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func findPotentialCommands(cmdLine string) (cmds []string) {
9393
lines := strings.Split(cmdLine, "\n")
9494
for _, line := range lines {
9595
line = strings.TrimSpace(line)
96-
reg, err := regexp.Compile(`^(hd|curl|wget|k3d|docker)`)
96+
reg, err := regexp.Compile(`^(hd|curl|wget|k3d|docker|jcli)`)
9797
if err == nil && reg.Match([]byte(line)) {
9898
if cmd := reg.Find([]byte(line)); cmd != nil {
9999
cmds = append(cmds, string(cmd))

0 commit comments

Comments
 (0)