Skip to content
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

Use afero fs for manpage generation #955

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

orobardet
Copy link

@orobardet orobardet commented Sep 9, 2019

It helps softwares using cobra's manpage generation to write tests.

e.g.: an app can have unit test generating its man page in an afero virtual FS, and comparing the result with golden files.

@orobardet orobardet force-pushed the use-afero-fs-for-manpage-generation branch from 3cef148 to 8e57d63 Compare September 9, 2019 08:57
@github-actions
Copy link

github-actions bot commented Apr 4, 2020

This PR is being marked as stale due to a long period of inactivity

@orobardet
Copy link
Author

Is there anything to do or change to help on this PR?

@orobardet orobardet force-pushed the use-afero-fs-for-manpage-generation branch from 8e57d63 to 3b6bd8d Compare April 20, 2022 13:59
@github-actions github-actions bot added area/docs-generation Generation of docs via Cobra size/XL Denotes a PR that exceeds 200 lines. Caution! labels Apr 20, 2022
@github-actions
Copy link

This PR exceeds the recommended size of 200 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

go.mod Outdated Show resolved Hide resolved
@orobardet orobardet force-pushed the use-afero-fs-for-manpage-generation branch from 3b6bd8d to f68fb4e Compare April 21, 2022 14:41
@github-actions github-actions bot added size/M Denotes a PR that chanes 24-99 lines and removed size/XL Denotes a PR that exceeds 200 lines. Caution! labels Apr 21, 2022
It helps softwares using cobra's manpage generation to write tests
@orobardet orobardet force-pushed the use-afero-fs-for-manpage-generation branch from f68fb4e to 24781b0 Compare April 21, 2022 14:46
@github-actions github-actions bot added size/XL Denotes a PR that exceeds 200 lines. Caution! and removed size/M Denotes a PR that chanes 24-99 lines labels Apr 21, 2022
@github-actions
Copy link

This PR exceeds the recommended size of 200 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

hoshsadiq pushed a commit to zulucmd/zulu that referenced this pull request Dec 31, 2022
It helps softwares using cobra's manpage generation to write tests

Merge spf13/cobra#955
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs-generation Generation of docs via Cobra size/XL Denotes a PR that exceeds 200 lines. Caution!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants