semaphoreci / cli

Semaphore 2.0 Command Line Interface
Apache License 2.0
26 stars 13 forks source link

implement --version flag as alias to version command #205

Open Greg-Myers-SB opened 1 year ago

Greg-Myers-SB commented 1 year ago

Problem

sem has the version command, however linux standard is --version flags for most commands.

Expectation

sem --version
0.26.3, commit 2833b829ee1b8b0d516ef0deb5f68b124cca20dd, built at 2022-10-19T16:49:42Z

Actual

$ sem --version
Error: unknown flag: --version