feat: command rename finalising

This commit is contained in:
Lewis Wynne 2026-02-11 16:13:49 +00:00
parent 8ea865b2ce
commit a4d2e919dc
15 changed files with 22 additions and 33 deletions

View file

@ -35,7 +35,7 @@ import (
var delStoreCmd = &cobra.Command{
Use: "remove-store STORE",
Short: "Delete a store",
Aliases: []string{"rm-store", "rms"},
Aliases: []string{"rms"},
Args: cobra.ExactArgs(1),
RunE: delStore,
SilenceUsage: true,

View file

@ -29,7 +29,7 @@ import (
var exportCmd = &cobra.Command{
Use: "export [STORE]",
Short: "Export store as NDJSON (alias for list --format ndjson)",
Aliases: []string{"dump"},
Aliases: []string{},
Args: cobra.MaximumNArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
listFormat = "ndjson"

View file

@ -8,6 +8,7 @@ import (
var identityCmd = &cobra.Command{
Use: "identity",
Aliases: []string{"id"},
Short: "Show or create the age encryption identity",
Args: cobra.NoArgs,
RunE: identityRun,

View file

@ -31,7 +31,7 @@ import (
var listStoresCmd = &cobra.Command{
Use: "list-stores",
Short: "List all stores",
Aliases: []string{"ls-stores", "lss"},
Aliases: []string{"lss"},
Args: cobra.NoArgs,
RunE: listStores,
SilenceUsage: true,

View file

@ -38,7 +38,7 @@ import (
var restoreCmd = &cobra.Command{
Use: "import [STORE]",
Short: "Restore key/value pairs from an NDJSON dump",
Aliases: []string{"restore"},
Aliases: []string{},
Args: cobra.MaximumNArgs(1),
RunE: restore,
SilenceUsage: true,