LogoLogo
Home
Atuin Docs
Atuin Docs
  • Welcome
  • Getting Started
    • Runbook Basics
  • Blocks
    • Executable
      • Terminal
      • Script
      • Directory
      • Env
    • Network
      • HTTP
      • SSH
    • Databases
      • PostgreSQL
      • SQLite
      • Clickhouse
    • Monitoring
      • Prometheus
  • Templating
  • Secrets
  • Atuin Hub
    • Getting Started
    • Sharing Runbooks
    • Collaborative Editing
Powered by GitBook
On this page
  1. Blocks

Executable

PreviousRunbook BasicsNextTerminal

Last updated 14 days ago

Runbooks support a number of executable blocks. These blocks allow you to run scripts on your local machine, and are the building blocks of most workflows.

While the execution context + state of a script or terminal block is isolated and independent, state is pushed down from the runbook.

For instance, using a Directory block, you can set the directory that all subsequent blocks should execute within.

Serial execution

Runbooks also support "serial execution". Click the play button in the top right, and runbooks will execute each block in sequence automatically

There is one small caveat for terminal blocks - they must exit. We cannot automatically determine if a terminal block has completed. You must either click the stop button yourself, or include "exit" somewhere in your input.