go-spectre @main -
refs -
log -
-
https://git.jolheiser.com/go-spectre.git
docs: add available scopes and templates to CLI help
Signed-off-by: jolheiser <git@jolheiser.com>
Signature
-----BEGIN SSH SIGNATURE-----
U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY
oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
AAAAQJirFufdV6d5ocGTC1CW3yWsdo4b0CHR5XmdKPC6oh4Qqzrh+p4AF9UkNEIv/EuaIl
zEC2bcdqXuqb/Xh2EuGAM=
-----END SSH SIGNATURE-----
diff --git a/cmd/spectre/main.go b/cmd/spectre/main.go
index 1a3487e0aa94e86b1fe55f6b8a3d5c8edaf964eb..e457293d61c5920c88d728cdcce953a785a51a3b 100644
--- a/cmd/spectre/main.go
+++ b/cmd/spectre/main.go
@@ -37,14 +37,14 @@ scopeFn := func(s string) (err error) {
scopeFlag, err = spectre.ParseScope(s)
return
}
- fs.Func("scope", "scope", scopeFn)
+ fs.Func("scope", "scope [authentication, identification, recovery]", scopeFn)
fs.Func("S", "--scope", scopeFn)
var templateFlag spectre.Template
templateFn := func(s string) (err error) {
templateFlag, err = spectre.ParseTemplate(s)
return
}
-import (
+ "go.jolheiser.com/go-spectre"
)
fs.Func("t", "--template", templateFn)