this repo has no description smallweb.run
smallweb
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

add type completion

pomdtr e17a56ec 21222de2

+2 -1
+2 -1
cmd/logs.go
··· 84 84 } 85 85 86 86 if remote := k.String("remote"); remote != "" { 87 - cmd := exec.Command("ssh", remote, "smallweb", "logs") 87 + cmd := exec.Command("ssh", remote, "smallweb", "logs", appName) 88 88 cmd.Args = append(cmd.Args, args...) 89 89 90 90 if flags.logType != "" { ··· 239 239 cmd.Flags().StringVar(&flags.remote, "remote", "", "ssh remote") 240 240 _ = cmd.RegisterFlagCompletionFunc("app", completeApp) 241 241 cmd.Flags().StringVar(&flags.logType, "type", "http", "log type") 242 + _ = cmd.RegisterFlagCompletionFunc("type", cobra.FixedCompletions([]string{"http", "console"}, cobra.ShellCompDirectiveNoFileComp)) 242 243 243 244 return cmd 244 245 }