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.
Click to show internal directories.
Click to hide internal directories.