Environment variable for viewer URL #3634
Labels
CLI 💻
Related to the command-line interface, such as the cmd, store, etc. commands
enhancement 🌟
usability 👍
Usability-related features
Is your feature request related to a problem? Please describe.
This is a matter of UX. Currently, there is no way to specify a default URL for CLI commands. If none is passed as a parameter,
http://localhost:8001
is assumed. Adding the URL every time introduces considerable visual clutter, not to mention it takes significantly more time if you're simply in an interactive session where you use a bunch of CodeChecker commands. Shell aliases are not an option.Describe the solution you would like
An environment variable is a clean and portable way of setting the remote server URL for all commands that need it.
Describe alternatives you have considered
Alternatively, this could also be part of a configuration file, like
.codechecker.passwords.json
. This is probably more work to program, as well as set up for end users. Doesn't seem worth it.The text was updated successfully, but these errors were encountered: