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

zef help wall of text #451

Open
coke opened this issue May 11, 2022 · 3 comments
Open

zef help wall of text #451

coke opened this issue May 11, 2022 · 3 comments

Comments

@coke
Copy link

coke commented May 11, 2022

zef help generates a wall of text. it would be helpful if we could bold the subcommand on each line, so it stands out in contrast to the global & per-command options.

(My concern: making it work the same on windows and elsewhere)

@coke
Copy link
Author

coke commented May 11, 2022

e.g.:

  C:/raku/share/perl6/site/bin/zef [--fetch] [--build] [--test] [--depends] [--test-depends] [--build-depends] [--force] [--force-resolve] [--force-fetch] [--force-extract] [--force-build] [--force-test] [--force-install] [--timeout[=Int]] [--fetch-timeout[=Int]] [--extract-timeout[=Int]] [--build-timeout[=Int]] [--test-timeout[=Int]] [--install-timeout[=Int]] [--degree[=Int]] [--fetch-degree[=Int]] [--test-degree[=Int]] [--update] [--upgrade] [--dry] [--serial] [--exclude[=Any]] [--to|--install-to[=Any]] smoke -- Smoke test

vs.

  C:/raku/share/perl6/site/bin/zef [--fetch] [--build] [--test] [--depends] [--test-depends] [--build-depends] [--force] [--force-resolve] [--force-fetch] [--force-extract] [--force-build] [--force-test] [--force-install] [--timeout[=Int]] [--fetch-timeout[=Int]] [--extract-timeout[=Int]] [--build-timeout[=Int]] [--test-timeout[=Int]] [--install-timeout[=Int]] [--degree[=Int]] [--fetch-degree[=Int]] [--test-degree[=Int]] [--update] [--upgrade] [--dry] [--serial] [--exclude[=Any]] [--to|--install-to[=Any]] 𝐬𝐦𝐨𝐤𝐞-- Smoke test

@ugexe
Copy link
Owner

ugexe commented May 11, 2022

Those examples are generated by MAIN, so any logic to do such a thing would need to be implemented there.

@tbrowder
Copy link

tbrowder commented May 11, 2022

Remember I once suggested we allow Raku MAIN somehow, as an option, to format such output but was shot down because it wasn't upvoted. I still think that is the right thing to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants