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

Improve ergonomics by using arguments instead of flags #1

Open
Snehil-Shah opened this issue May 20, 2024 · 0 comments
Open

Improve ergonomics by using arguments instead of flags #1

Snehil-Shah opened this issue May 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Snehil-Shah
Copy link
Owner

Snehil-Shah commented May 20, 2024

Problem

The command ServePort check-port -p 8080 doesn't need a flag to specify the port, it leads to bad design.
Simply using ServePort check-port 8080 makes up for a more natural and instinctive approach, as it's already stating the obvious without the use of flags.

In general we should be reserving flags as a means for configuring and altering the behavior of a command and use arguments for the obvious inputs it needs.

Outcome

Scout the current design to look for places where this improvement makes sense.

@Snehil-Shah Snehil-Shah added the enhancement New feature or request label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant