Skip to content

Commit bd728d7

Browse files
feat: updated ask command instruction
1 parent ba27024 commit bd728d7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

cmd/ask/ask.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,13 @@ func NewAskCommand() *cli.Command {
5757
opencodeBin, err := exec.LookPath("opencode")
5858
if err != nil {
5959
if !terminal.IsInteractive() {
60-
return fmt.Errorf("opencode is not installed\n\n Install it with:\n curl -fsSL https://opencode.ai/install | bash")
60+
return fmt.Errorf("opencode is not installed\n\n The 'ask' command uses OpenCode (https://opencode.ai), an open-source AI coding\n assistant, to power the CreateOS AI agent. It lets you manage your infrastructure\n using natural language right from the terminal.\n\n Install it with:\n curl -fsSL https://opencode.ai/install | bash")
6161
}
6262

63+
fmt.Println()
64+
pterm.Info.Println("The 'ask' command uses OpenCode (https://opencode.ai), an open-source AI coding\nassistant, to power the CreateOS AI agent. It lets you manage your infrastructure\nusing natural language right from the terminal.")
65+
fmt.Println()
66+
6367
install, _ := pterm.DefaultInteractiveConfirm.
6468
WithDefaultText("opencode is not installed. Install it now?").
6569
WithDefaultValue(true).

0 commit comments

Comments
 (0)