Skip to content

Commit 0914da5

Browse files
andrewmatzbot
authored andcommitted
[rubygems/rubygems] Add man page for 'bundle fund' command
Signed-off-by: Andrew Nesbitt <andrewnez@gmail.com> rubygems/rubygems@897819da36
1 parent cd7c6c6 commit 0914da5

File tree

4 files changed

+50
-2
lines changed

4 files changed

+50
-2
lines changed

lib/bundler/man/bundle-fund.1

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.\" generated with nRonn/v0.11.1
2+
.\" https://github.com/n-ronn/nronn/tree/0.11.1
3+
.TH "BUNDLE\-FUND" "1" "November 2024" ""
4+
.SH "NAME"
5+
\fBbundle\-fund\fR \- Lists information about gems seeking funding assistance
6+
.SH "SYNOPSIS"
7+
\fBbundle fund\fR [\fIOPTIONS\fR]
8+
.SH "DESCRIPTION"
9+
\fBbundle fund\fR lists information about gems seeking funding assistance\.
10+
.SH "OPTIONS"
11+
.TP
12+
\fB\-g\fR, \fB\-\-group=GROUP\fR
13+
Fetch funding information for a specific group\.
14+
.SH "EXAMPLES"
15+
.nf
16+
# Lists funding information for all gems
17+
bundle fund
18+
19+
# Lists funding information for a specific group
20+
bundle fund \-\-group=security
21+
.fi
22+

lib/bundler/man/bundle-fund.1.ronn

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
bundle-fund(1) -- Lists information about gems seeking funding assistance
2+
============================================================
3+
4+
## SYNOPSIS
5+
6+
`bundle fund` [*OPTIONS*]
7+
8+
## DESCRIPTION
9+
10+
**bundle fund** lists information about gems seeking funding assistance.
11+
12+
## OPTIONS
13+
14+
* `-g`, `--group=GROUP`:
15+
Fetch funding information for a specific group.
16+
17+
## EXAMPLES
18+
19+
```
20+
# Lists funding information for all gems
21+
bundle fund
22+
23+
# Lists funding information for a specific group
24+
bundle fund --group=security
25+
```

lib/bundler/man/index.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ bundle-config(1) bundle-config.1
99
bundle-console(1) bundle-console.1
1010
bundle-doctor(1) bundle-doctor.1
1111
bundle-exec(1) bundle-exec.1
12+
bundle-fund(1) bundle-fund.1
1213
bundle-gem(1) bundle-gem.1
1314
bundle-help(1) bundle-help.1
1415
bundle-info(1) bundle-info.1

spec/bundler/commands/help_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
end
3131

3232
it "still outputs the old help for commands that do not have man pages yet" do
33-
bundle "help fund"
34-
expect(out).to include("Lists information about gems seeking funding assistance")
33+
bundle "help issue"
34+
expect(out).to include("Learn how to report an issue in Bundler")
3535
end
3636

3737
it "looks for a binary and executes it with --help option if it's named bundler-<task>" do

0 commit comments

Comments
 (0)