try

command
v0.9.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Command try spawns an isolated subshell pre-configured to use a freshly built copy of the workshop binaries. Each invocation creates a session directory under ./try_sessions/, builds ./cmd/... into <session>/bin, starts workshopd against <session>, and drops the caller into a subshell with WORKSHOP, WORKSHOP_DEBUG and PATH set for the session. When the subshell exits, workshopd is terminated and the session directory is removed (unless --keep is given).

When invoked from inside an existing try session (detected via WORKSHOP_DEV_TMP), the tool instead rebuilds the binaries into the same session directory, restarts workshopd, and returns without spawning a nested shell.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL