Skip to content

Commit a0694ca

Browse files
committed
- Add ability to configure default root directory with RUSH_ROOT
1 parent e8d598f commit a0694ca

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+133
-507
lines changed

doc/rush-add.1

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,29 @@
1-
.\" Automatically generated by Pandoc 3.1.6
1+
.\" Automatically generated by Pandoc 3.1.9
22
.\"
3-
.\" Define V font for inline verbatim, using C font in formats
4-
.\" that render this, and otherwise B font.
5-
.ie "\f[CB]x\f[]"x" \{\
6-
. ftr V B
7-
. ftr VI BI
8-
. ftr VB B
9-
. ftr VBI BI
10-
.\}
11-
.el \{\
12-
. ftr V CR
13-
. ftr VI CI
14-
. ftr VB CB
15-
. ftr VBI CBI
16-
.\}
17-
.TH "rush-add" "1" "November 2023" "" "Register a local repository."
18-
.hy
3+
.TH "rush-add" "1" "January 2024" "" "Register a local repository."
194
.SH NAME
20-
.PP
215
\f[B]rush add\f[R] - Register a local repository.
226
.SH SYNOPSIS
23-
.PP
247
\f[B]rush add\f[R] REPO PATH
258
.SH DESCRIPTION
26-
.PP
279
Register a local repository.
2810
.PP
2911
This command adds the specified path to the configuration file.
3012
.IP \[bu] 2
3113
Alias: \f[B]a\f[R]
3214
.SH ARGUMENTS
3315
.SS REPO
34-
.PP
3516
Repository name.
3617
.IP \[bu] 2
3718
\f[I]Required\f[R]
3819
.SS PATH
39-
.PP
4020
Path to the repository.
4121
.IP \[bu] 2
4222
\f[I]Required\f[R]
4323
.SH EXAMPLES
4424
.IP
45-
.nf
46-
\f[C]
25+
.EX
4726
rush add default \[ti]/rush-repos/default
48-
\f[R]
49-
.fi
27+
.EE
5028
.SH SEE ALSO
51-
.PP
5229
\f[B]rush\f[R](1)

doc/rush-add.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% rush-add(1) | Register a local repository.
22
%
3-
% November 2023
3+
% January 2024
44

55
NAME
66
==================================================

doc/rush-clone.1

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,17 @@
1-
.\" Automatically generated by Pandoc 3.1.6
1+
.\" Automatically generated by Pandoc 3.1.9
22
.\"
3-
.\" Define V font for inline verbatim, using C font in formats
4-
.\" that render this, and otherwise B font.
5-
.ie "\f[CB]x\f[]"x" \{\
6-
. ftr V B
7-
. ftr VI BI
8-
. ftr VB B
9-
. ftr VBI BI
10-
.\}
11-
.el \{\
12-
. ftr V CR
13-
. ftr VI CI
14-
. ftr VB CB
15-
. ftr VBI CBI
16-
.\}
17-
.TH "rush-clone" "1" "November 2023" "" "Clone a GitHub package repository."
18-
.hy
3+
.TH "rush-clone" "1" "January 2024" "" "Clone a GitHub package repository."
194
.SH NAME
20-
.PP
215
\f[B]rush clone\f[R] - Clone a GitHub package repository.
226
.SH SYNOPSIS
23-
.PP
247
\f[B]rush clone\f[R] GITHUB_USER PATH OPTIONS
258
.SH DESCRIPTION
26-
.PP
279
Clone a GitHub package repository.
2810
.PP
2911
This command clones the repository and registers it in the configuration
3012
file.
3113
.SH ARGUMENTS
3214
.SS GITHUB_USER
33-
.PP
3415
Github user.
3516
.PP
3617
This user is expected to have a repository named \f[B]rush-repo\f[R].
@@ -39,43 +20,34 @@ If you need to use a different name, use the \f[B]user/repo\f[R] syntax.
3920
.IP \[bu] 2
4021
\f[I]Required\f[R]
4122
.SS PATH
42-
.PP
4323
Local path to clone the repository into.
4424
.PP
4525
Default: \[ti]/rush-repos/<github_user>/<github_repo>
4626
.SH OPTIONS
4727
.SS --ssh, -s
48-
.PP
4928
Clone using SSH instead of HTTPS.
5029
.SS --default, -d
51-
.PP
5230
Set this as the default repository (same as \f[B]--name default\f[R]).
5331
.SS --name, -n NAME
54-
.PP
5532
Name to use in the config file.
5633
.PP
5734
Default: GitHub user
5835
.SS --shallow, -w
59-
.PP
6036
Perform a shallow clone, instead of the default full clone.
6137
.SS --ignore, -i
62-
.PP
6338
Ignore (do not clone) if a repository with this name exists.
6439
.SH DEPENDENCIES
6540
.SS git
6641
.SH EXAMPLES
6742
.IP
68-
.nf
69-
\f[C]
43+
.EX
7044
rush clone bobby
7145
7246
rush clone bobby --default
7347
7448
rush clone bobby/bobs-repo ./repos/bobby --ssh
7549
7650
rush clone bobby --name sample --ignore
77-
\f[R]
78-
.fi
51+
.EE
7952
.SH SEE ALSO
80-
.PP
8153
\f[B]rush\f[R](1)

doc/rush-clone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% rush-clone(1) | Clone a GitHub package repository.
22
%
3-
% November 2023
3+
% January 2024
44

55
NAME
66
==================================================

doc/rush-completions.1

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,11 @@
1-
.\" Automatically generated by Pandoc 3.1.6
1+
.\" Automatically generated by Pandoc 3.1.9
22
.\"
3-
.\" Define V font for inline verbatim, using C font in formats
4-
.\" that render this, and otherwise B font.
5-
.ie "\f[CB]x\f[]"x" \{\
6-
. ftr V B
7-
. ftr VI BI
8-
. ftr VB B
9-
. ftr VBI BI
10-
.\}
11-
.el \{\
12-
. ftr V CR
13-
. ftr VI CI
14-
. ftr VB CB
15-
. ftr VBI CBI
16-
.\}
17-
.TH "rush-completions" "1" "November 2023" "" "Generate bash completions."
18-
.hy
3+
.TH "rush-completions" "1" "January 2024" "" "Generate bash completions."
194
.SH NAME
20-
.PP
215
\f[B]rush completions\f[R] - Generate bash completions.
226
.SH SYNOPSIS
23-
.PP
247
\f[B]rush completions\f[R]
258
.SH DESCRIPTION
26-
.PP
279
Generate bash completions.
2810
.SH SEE ALSO
29-
.PP
3011
\f[B]rush\f[R](1)

doc/rush-completions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% rush-completions(1) | Generate bash completions.
22
%
3-
% November 2023
3+
% January 2024
44

55
NAME
66
==================================================

doc/rush-config.1

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,16 @@
1-
.\" Automatically generated by Pandoc 3.1.6
1+
.\" Automatically generated by Pandoc 3.1.9
22
.\"
3-
.\" Define V font for inline verbatim, using C font in formats
4-
.\" that render this, and otherwise B font.
5-
.ie "\f[CB]x\f[]"x" \{\
6-
. ftr V B
7-
. ftr VI BI
8-
. ftr VB B
9-
. ftr VBI BI
10-
.\}
11-
.el \{\
12-
. ftr V CR
13-
. ftr VI CI
14-
. ftr VB CB
15-
. ftr VBI CBI
16-
.\}
17-
.TH "rush-config" "1" "November 2023" "" "Show or edit the configuration file."
18-
.hy
3+
.TH "rush-config" "1" "January 2024" "" "Show or edit the configuration file."
194
.SH NAME
20-
.PP
215
\f[B]rush config\f[R] - Show or edit the configuration file.
226
.SH SYNOPSIS
23-
.PP
247
\f[B]rush config\f[R] OPTIONS
258
.SH DESCRIPTION
26-
.PP
279
Show or edit the configuration file.
2810
.IP \[bu] 2
2911
Alias: \f[B]c\f[R]
3012
.SH OPTIONS
3113
.SS --edit, -e
32-
.PP
3314
Open the configuration file for editing.
3415
.SH SEE ALSO
35-
.PP
3616
\f[B]rush\f[R](1)

doc/rush-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% rush-config(1) | Show or edit the configuration file.
22
%
3-
% November 2023
3+
% January 2024
44

55
NAME
66
==================================================

doc/rush-copy.1

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,14 @@
1-
.\" Automatically generated by Pandoc 3.1.6
1+
.\" Automatically generated by Pandoc 3.1.9
22
.\"
3-
.\" Define V font for inline verbatim, using C font in formats
4-
.\" that render this, and otherwise B font.
5-
.ie "\f[CB]x\f[]"x" \{\
6-
. ftr V B
7-
. ftr VI BI
8-
. ftr VB B
9-
. ftr VBI BI
10-
.\}
11-
.el \{\
12-
. ftr V CR
13-
. ftr VI CI
14-
. ftr VB CB
15-
. ftr VBI CBI
16-
.\}
17-
.TH "rush-copy" "1" "November 2023" "" "Copy a package between local repositories."
18-
.hy
3+
.TH "rush-copy" "1" "January 2024" "" "Copy a package between local repositories."
194
.SH NAME
20-
.PP
215
\f[B]rush copy\f[R] - Copy a package between local repositories.
226
.SH SYNOPSIS
23-
.PP
247
\f[B]rush copy\f[R] SOURCE_PACKAGE TARGET_PACKAGE OPTIONS
258
.SH DESCRIPTION
26-
.PP
279
Copy a package between local repositories.
2810
.SH ARGUMENTS
2911
.SS SOURCE_PACKAGE
30-
.PP
3112
Source package name.
3213
.PP
3314
This can either be the package name without the repository name (in this
@@ -36,7 +17,6 @@ case, the default repository will be used) or in the form of
3617
.IP \[bu] 2
3718
\f[I]Required\f[R]
3819
.SS TARGET_PACKAGE
39-
.PP
4020
Target package name.
4121
.PP
4222
This can either be the package name without the repository name (in this
@@ -47,19 +27,15 @@ If left empty, the package will be copied with the same name to the
4727
default repository.
4828
.SH OPTIONS
4929
.SS --force, -f
50-
.PP
5130
Copy the package even if it already exists in the target repository.
5231
.SH EXAMPLES
5332
.IP
54-
.nf
55-
\f[C]
33+
.EX
5634
rush copy james:python
5735
5836
rush copy james:python python3
5937
6038
rush copy james:python bobby:python3 --force
61-
\f[R]
62-
.fi
39+
.EE
6340
.SH SEE ALSO
64-
.PP
6541
\f[B]rush\f[R](1)

doc/rush-copy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% rush-copy(1) | Copy a package between local repositories.
22
%
3-
% November 2023
3+
% January 2024
44

55
NAME
66
==================================================

0 commit comments

Comments
 (0)