-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add versioning #44
Add versioning #44
Conversation
Addresses #43 (comment) |
zssh/zssh/main.go
Outdated
) | ||
|
||
var rootCmd = &cobra.Command{ | ||
Use: fmt.Sprintf("%s %s <remoteUsername>@<targetIdentity>", ExpectedServiceAndExeName, flags.ServiceName), | ||
Short: "Z(iti)ssh, Carb-loaded ssh performs faster and stronger than ssh", | ||
Long: "Z(iti)ssh is a version of ssh that utilizes a ziti network to provide a faster and more secure remote connection. A ziti connection must be established before use", | ||
Version: fmt.Sprintf("%s (commit: %s, built: %s)", version, commit, date), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you update zscp, too, please? i'm not a fan of all the additional output for the commit hash and date. i'd rather just see the version number.
Can you make the output look like:
1.0.9B (built:2024-09-13T19:26:54Z)
or with the hash use the short hash:
1.0.9B (built:2024-09-13T19:26:54Z hash:e9df4770)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i see you did zscp too - thx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! |
Add the option to output a version