File tree Expand file tree Collapse file tree 21 files changed +286
-280
lines changed
Expand file tree Collapse file tree 21 files changed +286
-280
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ usage_colors :
2+ caption : bold
3+ # command: ~
4+ # arg: ~
5+ # flag: ~
6+ # environment_variable: ~
Original file line number Diff line number Diff line change 11rush - Personal package manager
22
3- Usage:
3+ [1mUsage:[0m
44 rush COMMAND
55 rush [COMMAND] --help | -h
66 rush --version | -v
77
8- Repository Commands:
8+ [1mRepository Commands:[0m
99 add Register a local repository
1010 remove Unregister a local repository
1111
12- Git Commands:
12+ [1mGit Commands:[0m
1313 clone Clone a GitHub package repository
1414 pull Git pull one or all repositories
1515 push Git push one or all repositories
1616
17- Config Commands:
17+ [1mConfig Commands:[0m
1818 config Show or edit the configuration file
1919 default Set a default repository
2020
21- Package Commands:
21+ [1mPackage Commands:[0m
2222 get Install a package (default)
2323 undo Uninstall a package
2424 snatch Install a package from a remote repo
@@ -29,5 +29,5 @@ Package Commands:
2929 edit Edit package files
3030 show Show package files
3131
32- Internal Commands:
32+ [1mInternal Commands:[0m
3333 completions Generate bash completions
Original file line number Diff line number Diff line change @@ -5,20 +5,20 @@ rush add
55
66Alias: a
77
8- Usage:
8+ [1mUsage:[0m
99 rush add REPO PATH
1010 rush add --help | -h
1111
12- Options:
12+ [1mOptions:[0m
1313 --help, -h
1414 Show this help
1515
16- Arguments:
16+ [1mArguments:[0m
1717 REPO
1818 Repository name.
1919
2020 PATH
2121 Path to the repository.
2222
23- Examples:
23+ [1mExamples:[0m
2424 rush add default ~/rush-repos/default
Original file line number Diff line number Diff line change @@ -4,14 +4,11 @@ rush clone
44 This command clones the repository and registers it in the
55 configuration file.
66
7- Usage:
7+ [1mUsage:[0m
88 rush clone GITHUB_USER [PATH] [OPTIONS]
99 rush clone --help | -h
1010
11- Options:
12- --help, -h
13- Show this help
14-
11+ [1mOptions:[0m
1512 --ssh, -s
1613 Clone using SSH instead of HTTPS
1714
@@ -28,7 +25,10 @@ Options:
2825 --ignore, -i
2926 Ignore (do not clone) if a repository with this name exists
3027
31- Arguments:
28+ --help, -h
29+ Show this help
30+
31+ [1mArguments:[0m
3232 GITHUB_USER
3333 Github user
3434 This user is expected to have a repository named 'rush-repo'.
@@ -38,7 +38,7 @@ Arguments:
3838 Local path to clone the repository into
3939 Default: ~/rush-repos/<github_user>/<github_repo>
4040
41- Examples:
41+ [1mExamples:[0m
4242 rush clone bobby
4343 rush clone bobby --default
4444 rush clone bobby/bobs-repo ./repos/bobby --ssh
Original file line number Diff line number Diff line change 11rush completions - Generate bash completions
22
3- Usage:
3+ [1mUsage:[0m
44 rush completions
55 rush completions --help | -h
66
7- Options:
7+ [1mOptions:[0m
88 --help, -h
99 Show this help
Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ rush config - Show or edit the configuration file
22
33Alias: c
44
5- Usage:
5+ [1mUsage:[0m
66 rush config [OPTIONS]
77 rush config --help | -h
88
9- Options:
10- --help, -h
11- Show this help
12-
9+ [1mOptions:[0m
1310 --edit, -e
1411 Open the configuration file for editing.
12+
13+ --help, -h
14+ Show this help
Original file line number Diff line number Diff line change 11rush copy - Copy a package between local repositories
22
3- Usage:
3+ [1mUsage:[0m
44 rush copy SOURCE_PACKAGE [TARGET_PACKAGE] [OPTIONS]
55 rush copy --help | -h
66
7- Options:
8- --help, -h
9- Show this help
10-
7+ [1mOptions:[0m
118 --force, -f
129 Copy the package even if it already exists in the target repository
1310
14- Arguments:
11+ --help, -h
12+ Show this help
13+
14+ [1mArguments:[0m
1515 SOURCE_PACKAGE
1616 Source package name
1717 This can either be the package name without the repository name (in
@@ -26,7 +26,7 @@ Arguments:
2626 If left empty, the package will be copied with the same name to the
2727 default repository.
2828
29- Examples:
29+ [1mExamples:[0m
3030 rush copy james:python
3131 rush copy james:python bobby
3232 rush copy james:python bobby:python3 --force
Original file line number Diff line number Diff line change @@ -4,17 +4,17 @@ rush default
44 This command adds (or updates) a repository named 'default' to the
55 configuration file, and copies the path from the provided repo.
66
7- Usage:
7+ [1mUsage:[0m
88 rush default REPO
99 rush default --help | -h
1010
11- Options:
11+ [1mOptions:[0m
1212 --help, -h
1313 Show this help
1414
15- Arguments:
15+ [1mArguments:[0m
1616 REPO
1717 Repository name
1818
19- Examples:
19+ [1mExamples:[0m
2020 rush default sample
Original file line number Diff line number Diff line change @@ -2,15 +2,15 @@ rush edit - Edit package files
22
33Alias: e
44
5- Usage:
5+ [1mUsage:[0m
66 rush edit PACKAGE [FILE]
77 rush edit --help | -h
88
9- Options:
9+ [1mOptions:[0m
1010 --help, -h
1111 Show this help
1212
13- Arguments:
13+ [1mArguments:[0m
1414 PACKAGE
1515 Package name
1616 This can either be the package name without the repository name (in
You can’t perform that action at this time.
0 commit comments