Phin Tech docs Boiler Room in the store →

Being told

Boiler Room tells you with a notification, when a Job's notify says to: by default, when a Run is a Change, when a Job starts failing, and when it works again. The menu bar icon counts the Jobs that want you: failing, waiting for you, or unreadable.

The first notification asks for permission. If you said no, turn them on in System Settings › Notifications › Boiler Room.

Questions #

A Script can ask you something and wait for the answer, without a terminal:

# Some text; --hidden isn't shown or kept, and only you may answer it.
code=$(boiler-room ask "MFA code for work" --hidden)

# Yes or no: exits 0 for yes, 1 for no.
if boiler-room confirm "Rotate the backup key?"; then …

# Something to do, on a page: waits until you say Done.
boiler-room wait "Click Allow in the browser" --open https://…

# One of several, or with --many, any of them: prints what you chose, a line each. You choose in the window, where
# a long list has a box to filter it. The options can come on stdin, a line each, as gum's do; --limit 3 allows at
# most three, and --selected ticks one to begin with.
picked=$(brew outdated --quiet | boiler-room choose --many "Upgrade which?")

# More than a line, with a hint in the empty box; --value puts something there to begin with.
why=$(boiler-room ask --multiline --placeholder "What changed?" "Notes for the log")

# Yes or no, in its own words.
boiler-room confirm --yes Upgrade --no Skip "Upgrade 3 formulae?"

With gum #

A Script written with gum's prompts runs as it is in Boiler Room and in your terminal. In a Run, gum is Boiler Room's: gum choose, filter, input, write, confirm, file and table ask in the window and print what you answered as gum would; gum spin --title "Upgrading" -- brew upgrade is a step; style, format, join, log and pager print their text plainly, and gum's colours and borders are left alone. Run the Script in a terminal and the real gum asks there.

pick=$(brew outdated --quiet | gum choose --no-limit --header "Upgrade which?")
gum confirm "Upgrade $(echo $pick | wc -w) formulae?" --affirmative Upgrade --negative Skip || exit 0
gum spin --title "Upgrading" --show-output -- brew upgrade $pick

A question waiting for you, answered in the window

The Run is Waiting for you meanwhile, and its time waiting doesn't count against its timeout; wait_timeout (an hour unless the Job says) is how long it waits. Answer from the notification's buttons, in the window, or with boiler-room answer <question> yes. boiler-room questions lists what's waiting. An agent can't answer a hidden question; only you can.

Slaps #

A Loud Job (loud = true) is also put in front of you with Slaps: full screen, a banner, or a card at the side, as you've set Slaps. Its questions come with buttons: Yes and No, or Done (beside the page to open, for a wait), and the alert goes away once you've answered anywhere. An Errand submitted with --loud says it's done on a card at the side, with a button that opens it in Boiler Room.

Slaps is a separate app. Without it, a Loud Job is told by notification only; with an older Slaps, its alerts have no buttons. boiler-room status says which, and where to get it.

A Script can make one Notice loud on its own: boiler-room notify "AWS replied on 1234" --loud.