Unhide rm command and add description as alias for close
This commit is contained in:
parent
71830c6bd5
commit
37665aac58
|
|
@ -82,9 +82,10 @@ program
|
||||||
.action((branch: string, opts: { force?: boolean }) => closeAction(branch, opts))
|
.action((branch: string, opts: { force?: boolean }) => closeAction(branch, opts))
|
||||||
|
|
||||||
program
|
program
|
||||||
.command("rm", { hidden: true })
|
.command("rm")
|
||||||
.argument("<branch>", "branch name")
|
.argument("<branch>", "branch name")
|
||||||
.option("-f, --force", "close even if there are unsaved changes")
|
.option("-f, --force", "close even if there are unsaved changes")
|
||||||
|
.description("Remove a session (alias for close)")
|
||||||
.action((branch: string, opts: { force?: boolean }) => closeAction(branch, opts))
|
.action((branch: string, opts: { force?: boolean }) => closeAction(branch, opts))
|
||||||
|
|
||||||
// ── sandlot merge ────────────────────────────────────────────────────
|
// ── sandlot merge ────────────────────────────────────────────────────
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user