feat: release v1.6.0 with get-secret CLI, Zero-Trust LDAP tunnel, auto-updates and service restarts
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestHandleCLIHelpAndVersion(t *testing.T) {
|
||||
if !handleCLI([]string{"version"}) {
|
||||
t.Errorf("expected handleCLI('version') to return true")
|
||||
}
|
||||
if !handleCLI([]string{"--help"}) {
|
||||
t.Errorf("expected handleCLI('--help') to return true")
|
||||
}
|
||||
if handleCLI([]string{"unknown-command"}) {
|
||||
t.Errorf("expected handleCLI('unknown-command') to return false")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user