-
Notifications
You must be signed in to change notification settings - Fork 54
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
Version CLI #259
Comments
Just FYI: https://go.dev/doc/go1.18#go-command
|
will be done as part of #271 |
#339 resolves this however with a caveat:
This would be resolved by @orpheuslummis, related note:
|
Added a comment/review to the outstanding PR, I think if its going to be included in part with the CLI overhaul by orpheus, it should just all be done there. Should use an "LDFlag" approach similar to Tendermint, found here: Which defines a dedicated |
Future implementation (ldflags) will be lead by @orpheuslummis (#349) |
Adds the ability to check DefraDB's latest release version. Resolves #259 ``` Usage: defradb version [flags] Flags: -f, --format string The version's format can be one of: 'short', 'json' ``` Example [default]: >> `defradb version` ``` DefraDB's Version Information: * version tag = 0.2.1 * build commit = e4328e0 * release date = 2022-03-07T00:12:07Z ``` Example [short flag]: ``` >> $ defradb version -f short 0.2.1 ``` Example [json flag]: ``` >> $ defradb version --format json {"tag":"0.2.1","commit":"e4328e0","date":"2022-03-07T00:12:07Z"} ```
Adds the ability to check DefraDB's latest release version. Resolves sourcenetwork#259 ``` Usage: defradb version [flags] Flags: -f, --format string The version's format can be one of: 'short', 'json' ``` Example [default]: >> `defradb version` ``` DefraDB's Version Information: * version tag = 0.2.1 * build commit = e4328e0 * release date = 2022-03-07T00:12:07Z ``` Example [short flag]: ``` >> $ defradb version -f short 0.2.1 ``` Example [json flag]: ``` >> $ defradb version --format json {"tag":"0.2.1","commit":"e4328e0","date":"2022-03-07T00:12:07Z"} ```
Need
version
subcommand on CLIThe text was updated successfully, but these errors were encountered: