question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support printing environment variables in `--help`

See original GitHub issue

It would be great if we can print the environment variables for arguments when --help is enabled. Ideally, it can be configurable in CliktHelpFormatter.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:3
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
burembacommented, Nov 3, 2021

That’s correct. 😃

0reactions
ajaltcommented, Nov 3, 2021

I’m not sure what you mean by activated.

If you have an option val opt by option(envvar="FOO"), are you asking for FOO to show up in the help output?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuring output directory with Environmental Variables
The environmental variable can be set into the Printer Driver preferences for all users. To do this, navigate to “Start menu -> Control...
Read more >
Environment Variables: What They Are and How To Use Them
Type 1: Add Environment Variables Via env Files​​ Printing the values for the env variables. You will find that the output still remains...
Read more >
Environment Variables in Windows/macOS/Linux
To print the value of a particular variable, use the command " echo $varname ". To set an environment variable, use the command...
Read more >
How to set, print, or list environment variables | How To Wiki
environment variables, or ENV varables For bourne shells sh, ksh, bash execute: VARNAME="value"; export VARNAME For c shells csh. tcsh execute: setenv ...
Read more >
How To Set Environment Variables - Twilio
This should print the value that you saved in the environment variable. windows-cmd-dialog.png. Use .env files. In some situations you only need ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found