Skip to main content
Snippets reduce repetitive typing and help standardize frequent operations.

Features

  • Create, edit, and delete snippets
  • Organize commands by purpose
  • Use dynamic values/placeholders for reusable commands
  • Run snippets in active terminal sessions

Good Snippet Categories

  • deploy/restart commands
  • health checks
  • log inspection commands
  • environment bootstrap commands

Writing Tips

  • Use action-oriented names (Restart API, Tail Nginx Error Log)
  • Prefer explicit flags over ambiguous defaults
  • Use placeholders for values that change between environments
  • Keep production-impacting commands clearly labeled

Dynamic Values (Runtime Injection)

Use placeholders directly in the command, for example:
ssh {USER}@{HOST} -p {PORT}
How it works:
  • Placeholders use {NAME} format
  • Supported names are uppercase letters and underscores ({HOST}, {DB_USER})
  • Values are requested in a dialog when you click Run
  • All values are required before command execution
Notes:
  • Replacement happens at run time, not when saving the snippet
  • Paste is available only for snippets without placeholders

Troubleshooting

See Snippets Troubleshooting.