Skip to content

UI Tour

Let’s see what a Runbook consumer would see when they runbooks open the my-first-runbook we created in the previous page.

Runbook UI Screenshot 1

You’ll notice that the first portion of the Runbook renders just like a GitHub README. Once we get to the “Prerequisites” message, we see are first block, the <Admonition>. Let’s scroll down a little further.

Runbook UI Screenshot 2

Here we see our second block, the <Check>, in this case one that’s checking the local version of git.

Runbook UI Screenshot 3

When we press the “Check” button, we can see that the <Check> shows us the execution logs and the success status of the command (in this case, a positive status!).

Runbook UI Screenshot 4

Now we’ve come to our first <BoilerplateInputs> block, which exposes a web form. Runbook web forms are dynamically generated based on the contents of the Boilerplate variables, which in this case were:

variables:
- name: Name
type: string
description: What's your name?
validations: "required"
- name: FavoriteLanguage
type: enum
description: What's your favorite programming language?
options:
- Go
- Python
- JavaScript
- Rust
- Other
default: Go

Now let’s fill out some values, click “Generate” and see what happens.

Runbook UI Screenshot 5

It looks like that <Command> block automatically updated its script based on these values!

Runbook UI Screenshot 6

Finally, we can “Run” the command and see the result.

The example my-first-runbook Runbook didn’t include any explicit file generation, but here’s an example of what that looks like:

Runbook UI Screenshot 7

Note that as you type in the inputs, the file contents automatically update.

Now that you understand how Runbooks work, let’s learn about how this collection of functionality is useful in practical real-world scenarios.