[rubygems/rubygems] Add man page for 'bundle fund' command

Signed-off-by: Andrew Nesbitt <andrewnez@gmail.com>

https://github.com/rubygems/rubygems/commit/897819da36
This commit is contained in:
Andrew Nesbitt 2024-11-18 16:03:54 +00:00 committed by git
parent cd7c6c66b4
commit 0914da52e0
4 changed files with 50 additions and 2 deletions

View File

@ -0,0 +1,22 @@
.\" generated with nRonn/v0.11.1
.\" https://github.com/n-ronn/nronn/tree/0.11.1
.TH "BUNDLE\-FUND" "1" "November 2024" ""
.SH "NAME"
\fBbundle\-fund\fR \- Lists information about gems seeking funding assistance
.SH "SYNOPSIS"
\fBbundle fund\fR [\fIOPTIONS\fR]
.SH "DESCRIPTION"
\fBbundle fund\fR lists information about gems seeking funding assistance\.
.SH "OPTIONS"
.TP
\fB\-g\fR, \fB\-\-group=GROUP\fR
Fetch funding information for a specific group\.
.SH "EXAMPLES"
.nf
# Lists funding information for all gems
bundle fund
# Lists funding information for a specific group
bundle fund \-\-group=security
.fi

View File

@ -0,0 +1,25 @@
bundle-fund(1) -- Lists information about gems seeking funding assistance
============================================================
## SYNOPSIS
`bundle fund` [*OPTIONS*]
## DESCRIPTION
**bundle fund** lists information about gems seeking funding assistance.
## OPTIONS
* `-g`, `--group=GROUP`:
Fetch funding information for a specific group.
## EXAMPLES
```
# Lists funding information for all gems
bundle fund
# Lists funding information for a specific group
bundle fund --group=security
```

View File

@ -9,6 +9,7 @@ bundle-config(1) bundle-config.1
bundle-console(1) bundle-console.1
bundle-doctor(1) bundle-doctor.1
bundle-exec(1) bundle-exec.1
bundle-fund(1) bundle-fund.1
bundle-gem(1) bundle-gem.1
bundle-help(1) bundle-help.1
bundle-info(1) bundle-info.1

View File

@ -30,8 +30,8 @@ RSpec.describe "bundle help" do
end
it "still outputs the old help for commands that do not have man pages yet" do
bundle "help fund"
expect(out).to include("Lists information about gems seeking funding assistance")
bundle "help issue"
expect(out).to include("Learn how to report an issue in Bundler")
end
it "looks for a binary and executes it with --help option if it's named bundler-<task>" do