diff --git a/cmd/browsers.go b/cmd/browsers.go index 161368f..7e56255 100644 --- a/cmd/browsers.go +++ b/cmd/browsers.go @@ -1738,9 +1738,10 @@ func generateRandomExtensionName() string { } var browsersCmd = &cobra.Command{ - Use: "browsers", - Short: "Manage browsers", - Long: "Commands for managing Kernel browsers", + Use: "browsers", + Aliases: []string{"browser"}, + Short: "Manage browsers", + Long: "Commands for managing Kernel browsers", } var browsersListCmd = &cobra.Command{ diff --git a/cmd/extensions.go b/cmd/extensions.go index 8bb72d3..68b880b 100644 --- a/cmd/extensions.go +++ b/cmd/extensions.go @@ -310,9 +310,10 @@ func (e ExtensionsCmd) Upload(ctx context.Context, in ExtensionsUploadInput) err // --- Cobra wiring --- var extensionsCmd = &cobra.Command{ - Use: "extensions", - Short: "Manage browser extensions", - Long: "Commands for managing Kernel browser extensions", + Use: "extensions", + Aliases: []string{"extension"}, + Short: "Manage browser extensions", + Long: "Commands for managing Kernel browser extensions", } var extensionsListCmd = &cobra.Command{ diff --git a/cmd/logs.go b/cmd/logs.go index 80f4164..00db84e 100644 --- a/cmd/logs.go +++ b/cmd/logs.go @@ -12,10 +12,11 @@ import ( ) var logsCmd = &cobra.Command{ - Use: "logs ", - Short: "Show logs for a Kernel application", - Args: cobra.ExactArgs(1), - RunE: runLogs, + Use: "logs ", + Aliases: []string{"log"}, + Short: "Show logs for a Kernel application", + Args: cobra.ExactArgs(1), + RunE: runLogs, } func init() { diff --git a/cmd/profiles.go b/cmd/profiles.go index 5a78311..c068453 100644 --- a/cmd/profiles.go +++ b/cmd/profiles.go @@ -207,9 +207,10 @@ func (p ProfilesCmd) Download(ctx context.Context, in ProfilesDownloadInput) err // --- Cobra wiring --- var profilesCmd = &cobra.Command{ - Use: "profiles", - Short: "Manage profiles", - Long: "Commands for managing Kernel browser profiles", + Use: "profiles", + Aliases: []string{"profile"}, + Short: "Manage profiles", + Long: "Commands for managing Kernel browser profiles", } var profilesListCmd = &cobra.Command{ diff --git a/cmd/proxies/proxies.go b/cmd/proxies/proxies.go index 58d504a..531a606 100644 --- a/cmd/proxies/proxies.go +++ b/cmd/proxies/proxies.go @@ -6,9 +6,10 @@ import ( // ProxiesCmd is the parent command for proxy operations var ProxiesCmd = &cobra.Command{ - Use: "proxies", - Short: "Manage proxy configurations", - Long: "Commands for managing proxy configurations for browser sessions", + Use: "proxies", + Aliases: []string{"proxy"}, + Short: "Manage proxy configurations", + Long: "Commands for managing proxy configurations for browser sessions", Run: func(cmd *cobra.Command, args []string) { // If called without subcommands, show help _ = cmd.Help()