mirror of
https://github.com/certimate-go/certimate.git
synced 2026-07-20 21:01:41 +08:00
fix: #1342
This commit is contained in:
parent
20f211f398
commit
f8aa0f1978
@ -20,7 +20,7 @@ import (
|
||||
func NewInternalCommand(app core.App) *cobra.Command {
|
||||
command := &cobra.Command{
|
||||
Use: "intercmd",
|
||||
Short: "[INTERNAL] Internal dedicated for Certimate",
|
||||
Short: "[RESERVED] PLEASE DO NOT USE!",
|
||||
}
|
||||
|
||||
command.AddCommand(internalCertApplyCommand(app))
|
||||
|
||||
@ -13,7 +13,7 @@ import (
|
||||
func NewVersionCommand(_ core.App) *cobra.Command {
|
||||
command := &cobra.Command{
|
||||
Use: "version",
|
||||
Short: "Print the version information",
|
||||
Short: "Prints version information",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
fmt.Printf("Certimate v%s\n", app.AppVersion)
|
||||
fmt.Printf("Build with %s on %s_%s\n", runtime.Version(), runtime.GOOS, runtime.GOARCH)
|
||||
|
||||
@ -11,7 +11,7 @@ import (
|
||||
func NewWinscCommand(app core.App) *cobra.Command {
|
||||
command := &cobra.Command{
|
||||
Use: "winsc",
|
||||
Short: "Install/Uninstall Windows service (Not supported on non-Windows OS)",
|
||||
Short: "Manages Windows service (Not supported on non-Windows OS)",
|
||||
}
|
||||
|
||||
return command
|
||||
|
||||
@ -23,7 +23,7 @@ const winscName = "certimate"
|
||||
func NewWinscCommand(app core.App) *cobra.Command {
|
||||
command := &cobra.Command{
|
||||
Use: "winsc",
|
||||
Short: "Install/Uninstall Windows service",
|
||||
Short: "Manages Windows service",
|
||||
}
|
||||
|
||||
command.AddCommand(winscInstallCommand(app))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user