readBranch

tcmts.cli.commands.readBranch · #6ithvczz · term · runs anywhere

--branch <b>, of the commands that only read: another branch (another session's, say), read as it is, with nothing changed; this process stays on its own. A command that changes things isn't given it (see usageError).

import { text } from "#codebase/tcmts/cli/commands";
import { name, option, schema } from "@bomb.sh/router";

export const readBranch = option(name("branch"), schema(text(null)))

uses

used by