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.

Add a CLI param to override config variables

See original GitHub issue

Something like -c https.enable=true.

This would remove the need to have ip/port/public/private params.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
toXelcommented, Oct 9, 2016

The thing is: at the moment the parameters are not working correctly. For example: lounge start --port 1234 or lounge start -P 1234 starts Lounge on default port 9000. Same with lounge --port 1234 start (That’s the way lounge -h describes the usage) To make it work you have to do lounge --port 1234, lounge -- start --port 1234 or lounge -- --port 1234 start which is not the way it should be, I think. The whole CLI params parsing implementation has a problem.

1reaction
toXelcommented, Oct 8, 2016

Should the ip/port/public/private params be removed in the same PR? I’ll look into this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add a CLI param to override config variables · Issue #419 - GitHub
Something like -c https.enable=true. This would remove the need to have ip/port/public/private params. ... Add a CLI param to override config variables #419....
Read more >
How do I override Git configuration options by command line ...
Quoting from kernel.org/pub/software/scm/git/docs -c <name>=<value> Pass a configuration parameter to the command. The value given will override values from ...
Read more >
Environment variables to configure the AWS CLI
If you specify an option by using a parameter on the AWS CLI command line, it overrides any value from either the corresponding...
Read more >
CLI Arguments with Environment Variables - Typer - tiangolo
Try: How can I terminate a program? How to launch applications? How to add help to CLI argument? Hi there Ask our docs!...
Read more >
config Declarations: command-line overrides - chapel-lang.org
Configuration variables are variables whose default values can be overridden on the executable's command-line. Here's a simple example:.
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