File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,11 +8,15 @@ defmodule GitWork.CLI do
88 @ commands % {
99 "activate" => Activate ,
1010 "clone" => Clone ,
11+ "cl" => Clone ,
1112 "init" => Init ,
1213 "checkout" => Checkout ,
14+ "co" => Checkout ,
1315 "rm" => Rm ,
1416 "sync" => Sync ,
15- "list" => List
17+ "s" => Sync ,
18+ "list" => List ,
19+ "ls" => List
1620 }
1721
1822 def run ( args ) do
@@ -89,12 +93,12 @@ defmodule GitWork.CLI do
8993
9094 Commands:
9195 activate <shell> Print shell integration (bash, zsh, fish)
92- clone <url> [<dir>] Clone a repo into worktree-based layout
93- init Convert current repo to worktree-based layout
94- checkout <branch> Switch to branch worktree (fuzzy match supported)
95- rm <branch> Remove a worktree and its branch
96- sync [--dry-run] Fetch and prune stale worktrees
97- list List all worktrees
96+ clone (cl) <url> [<dir>] Clone a repo into worktree-based layout
97+ init Convert current repo to worktree-based layout
98+ checkout (co) <branch> Switch to branch worktree (fuzzy match supported)
99+ rm <branch> Remove a worktree and its branch
100+ sync (s) [--dry-run] Fetch and prune stale worktrees
101+ list (ls) List all worktrees
98102
99103 Options:
100104 --help Show this help
You can’t perform that action at this time.
0 commit comments