gpm execute

Execute shell command

Synopsis

Executes a shell command with the environment variables loaded from .env files.

gpm execute [user message] [flags]

Options

      --error-code int        custom error code (default 1)
      --force                 do not ask before execute
  -h, --help                  help for execute
      --no-stdin              do not load from STDIN
      --success-code int      custom success code
      --temperature float32   custom temperature value (default -1)
      --with-exit-code        also exit with code from execution

Options inherited from parent commands

      --aliases-file string    custom aliases file
  -e, --env-file stringArray   one or more environment files
      --environment string     name of the environment
      --gpm-root string        custom root directory for this app
      --no-system-prompt       do not use system prompt
      --ollama                 use Ollama
      --projects-file string   custom projects file
      --prompt string          custom (AI) prompt
      --system-prompt string   custom (AI) system prompt
  -v, --verbose                verbose output

SEE ALSO

Auto generated by spf13/cobra on 5-Jan-2025