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

Return version from CLI #149

Closed
nvuillam opened this issue Jan 6, 2021 · 3 comments
Closed

Return version from CLI #149

nvuillam opened this issue Jan 6, 2021 · 3 comments
Labels
enhancement New feature request or implementation good first issue If you want to contribute, this kind of issue may be a nice way to start

Comments

@nvuillam
Copy link
Contributor

nvuillam commented Jan 6, 2021

Would it be possible to return the version from markdown-link-check -v ?

I would need it for a cleaner integration in Mega-Linter :) (for the moment I always display v0.0.0 by default )

image

Thanks !

@NicolasMassart NicolasMassart added enhancement New feature request or implementation good first issue If you want to contribute, this kind of issue may be a nice way to start labels Jan 6, 2021
@NicolasMassart
Copy link
Contributor

Until it's done, maybe you can extract it from the package-lock?

@nvuillam
Copy link
Contributor Author

nvuillam commented Jan 6, 2021

This is not blocking... and Mega-Linter architecture requires it to work with just command line... the script would be too awful :)

tcort added a commit that referenced this issue May 26, 2021
Display version string and exit when -V or --version command line
arguments are supplied.

Issue #149
@tcort
Copy link
Owner

tcort commented May 26, 2021

I've implemented this with the -V or --version flags. The -v flag is already taken for verbose. Thanks for the suggestion.

@tcort tcort closed this as completed May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature request or implementation good first issue If you want to contribute, this kind of issue may be a nice way to start
Projects
None yet
Development

No branches or pull requests

3 participants