remove unused 'agent share' and 'agent access' commands

This commit is contained in:
Michael Quigley 2025-03-10 10:29:21 -04:00
parent ffe2143156
commit 8d3debf144
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -25,8 +25,6 @@ func init() {
adminCmd.AddCommand(adminListCmd) adminCmd.AddCommand(adminListCmd)
adminCmd.AddCommand(adminUpdateCmd) adminCmd.AddCommand(adminUpdateCmd)
rootCmd.AddCommand(agentCmd) rootCmd.AddCommand(agentCmd)
agentCmd.AddCommand(agentAccessCmd)
agentCmd.AddCommand(agentShareCmd)
agentCmd.AddCommand(agentReleaseCmd) agentCmd.AddCommand(agentReleaseCmd)
rootCmd.AddCommand(adminCmd) rootCmd.AddCommand(adminCmd)
rootCmd.AddCommand(configCmd) rootCmd.AddCommand(configCmd)
@ -84,22 +82,12 @@ var adminUpdateCmd = &cobra.Command{
Short: "Update global resources", Short: "Update global resources",
} }
var agentAccessCmd = &cobra.Command{
Use: "access",
Short: "zrok Agent access commands",
}
var agentCmd = &cobra.Command{ var agentCmd = &cobra.Command{
Use: "agent", Use: "agent",
Short: "zrok Agent commands", Short: "zrok Agent commands",
Aliases: []string{"daemon"}, Aliases: []string{"daemon"},
} }
var agentShareCmd = &cobra.Command{
Use: "share",
Short: "zrok Agent sharing commands",
}
var agentReleaseCmd = &cobra.Command{ var agentReleaseCmd = &cobra.Command{
Use: "release", Use: "release",
Short: "zrok Agent release commands", Short: "zrok Agent release commands",