Skip to content

Commit ab1b77c

Browse files
committed
- Generate with bashly 1.0 and embolden usage captions
1 parent fa5c17f commit ab1b77c

21 files changed

+286
-280
lines changed

rush

Lines changed: 180 additions & 180 deletions
Large diffs are not rendered by default.

settings.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
usage_colors:
2+
caption: bold
3+
# command: ~
4+
# arg: ~
5+
# flag: ~
6+
# environment_variable: ~

test/approvals/rush

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
rush - Personal package manager
22

3-
Usage:
3+
Usage:
44
rush COMMAND
55
rush [COMMAND] --help | -h
66
rush --version | -v
77

8-
Repository Commands:
8+
Repository Commands:
99
add Register a local repository
1010
remove Unregister a local repository
1111

12-
Git Commands:
12+
Git Commands:
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+
Config Commands:
1818
config Show or edit the configuration file
1919
default Set a default repository
2020

21-
Package Commands:
21+
Package Commands:
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+
Internal Commands:
3333
completions Generate bash completions

test/approvals/rush_add_h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ rush add
55

66
Alias: a
77

8-
Usage:
8+
Usage:
99
rush add REPO PATH
1010
rush add --help | -h
1111

12-
Options:
12+
Options:
1313
--help, -h
1414
Show this help
1515

16-
Arguments:
16+
Arguments:
1717
REPO
1818
Repository name.
1919

2020
PATH
2121
Path to the repository.
2222

23-
Examples:
23+
Examples:
2424
rush add default ~/rush-repos/default

test/approvals/rush_clone_h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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+
Usage:
88
rush clone GITHUB_USER [PATH] [OPTIONS]
99
rush clone --help | -h
1010

11-
Options:
12-
--help, -h
13-
Show this help
14-
11+
Options:
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+
Arguments:
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+
Examples:
4242
rush clone bobby
4343
rush clone bobby --default
4444
rush clone bobby/bobs-repo ./repos/bobby --ssh

test/approvals/rush_completions_h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
rush completions - Generate bash completions
22

3-
Usage:
3+
Usage:
44
rush completions
55
rush completions --help | -h
66

7-
Options:
7+
Options:
88
--help, -h
99
Show this help

test/approvals/rush_config_h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ rush config - Show or edit the configuration file
22

33
Alias: c
44

5-
Usage:
5+
Usage:
66
rush config [OPTIONS]
77
rush config --help | -h
88

9-
Options:
10-
--help, -h
11-
Show this help
12-
9+
Options:
1310
--edit, -e
1411
Open the configuration file for editing.
12+
13+
--help, -h
14+
Show this help

test/approvals/rush_copy_h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
rush copy - Copy a package between local repositories
22

3-
Usage:
3+
Usage:
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+
Options:
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+
Arguments:
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+
Examples:
3030
rush copy james:python
3131
rush copy james:python bobby
3232
rush copy james:python bobby:python3 --force

test/approvals/rush_default_h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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+
Usage:
88
rush default REPO
99
rush default --help | -h
1010

11-
Options:
11+
Options:
1212
--help, -h
1313
Show this help
1414

15-
Arguments:
15+
Arguments:
1616
REPO
1717
Repository name
1818

19-
Examples:
19+
Examples:
2020
rush default sample

test/approvals/rush_edit_h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ rush edit - Edit package files
22

33
Alias: e
44

5-
Usage:
5+
Usage:
66
rush edit PACKAGE [FILE]
77
rush edit --help | -h
88

9-
Options:
9+
Options:
1010
--help, -h
1111
Show this help
1212

13-
Arguments:
13+
Arguments:
1414
PACKAGE
1515
Package name
1616
This can either be the package name without the repository name (in

0 commit comments

Comments
 (0)