-
-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: man page #1089
Feat: man page #1089
Conversation
PR Description updated to latest commit (2056fa0) |
PR Review
Code feedback:
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
85ea022
to
d216aaa
Compare
d216aaa
to
6928e1f
Compare
User description
Closes #85
Type
enhancement, documentation
Description
--generate-man
command.src/main.rs
.clap_mangen
dependency for man page generation.--generate-man
option.README.md
andCHANGELOG.md
.--generate-man
option.Changes walkthrough
8 files
config.rs
Support for Generating Man Page in Application Logic
src/config.rs
PrintManPage
variant toTrippyAction
enum.TrippyAction::from
to handlegenerate_man
argument.cmd.rs
Command Line Argument Parsing for Man Page Generation
src/config/cmd.rs
generate_man
field toArgs
struct to support--generate-man
command.
targets
argument to be optional if--generate-man
is used.main.rs
Man Page Generation and Printing Implementation
src/main.rs
print_man_page
function to generate and print the manpage.
man_page
function to generate man page content.PrintManPage
action.completions_bash.txt
Updated Bash Completions for Man Page Generation
test_resources/config/completions_bash.txt
--generate-man
option.completions_elvish.txt
Updated Elvish Completions for Man Page Generation
test_resources/config/completions_elvish.txt
--generate-man
option.completions_fish.txt
Updated Fish Completions for Man Page Generation
test_resources/config/completions_fish.txt
--generate-man
option.completions_powershell.txt
Updated PowerShell Completions for Man Page Generation
test_resources/config/completions_powershell.txt
--generate-man
option.completions_zsh.txt
Updated Zsh Completions for Man Page Generation
test_resources/config/completions_zsh.txt
--generate-man
option.3 files
CHANGELOG.md
Updated CHANGELOG for Man Page Generation Feature
CHANGELOG.md
--generate-man
flag for generating ROFF manpage.
README.md
Documented Man Page Generation in README
README.md
--generate-man
.man_page.1
New Man Page File for the Application
test_resources/config/man_page.1
1 files
Cargo.toml
Added Dependency for Man Page Generation
Cargo.toml
clap_mangen
dependency for man page generation.