readBranch
--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
- tcmts.cli.commands.routeAt
- tcmts.cli.commands.routeDependents
- tcmts.cli.commands.routeDeps
- tcmts.cli.commands.routeDiff
- tcmts.cli.commands.routeDocs
- tcmts.cli.commands.routeFind
- tcmts.cli.commands.routeHistory
- tcmts.cli.commands.routeLs
- tcmts.cli.commands.routeSearch
- tcmts.cli.commands.routeStatus
- tcmts.cli.commands.routeTodo
- tcmts.cli.commands.routeView