tilt-dev / tilt

Define your dev environment as code. For microservice apps on Kubernetes.
https://tilt.dev/
Apache License 2.0
7.71k stars 306 forks source link

Respond to `tilt --version` as well as `tilt version` #6462

Open rmunn opened 3 weeks ago

rmunn commented 3 weeks ago

Describe the Feature You Want

The --version flag is standard among most command-line tools for Linux (e.g., https://www.gnu.org/prep/standards/standards.html#g_t_002d_002dversion among others), just as much as the --help flag. It would be nice if Tilt followed that standard as well, by having tilt --version produce the same response as tilt version.

Current Behavior

tilt --version produces Error: unknown flag: --version and then prints the usage info.

Why Do You Want This?

Most experienced Linux developers will have --version as nearly instinctive muscle memory.

Additional context None.

nicks commented 1 week ago

sure, that seems reasonable