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
      --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
      --model string           custom AI model
      --no-post-script         do not handle 'post script' in gpm.yaml
      --no-pre-script          do not handle 'pre script' in gpm.yaml
      --no-script              do not handle script in gpm.yaml
      --no-system-prompt       do not use system prompt
      --ollama                 use Ollama
      --projects-file string   custom projects file
      --prompt string          custom (AI) prompt
      --settings string        custom settings file
      --system-prompt string   custom (AI) system prompt
      --temperature float32    custom (AI) temperature (default -1)
  -v, --verbose                verbose output

SEE ALSO

Auto generated by spf13/cobra on 23-Mar-2025