cli lint removal

This commit is contained in:
Michael Quigley 2023-06-20 09:58:41 -04:00
parent ebfb039687
commit 3c0477f9e3
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62
4 changed files with 9 additions and 14 deletions

View File

@ -22,8 +22,6 @@ import (
"time" "time"
) )
var accessPrivateCmd *accessPrivateCommand
func init() { func init() {
accessCmd.AddCommand(newAccessPrivateCommand().cmd) accessCmd.AddCommand(newAccessPrivateCommand().cmd)
} }

View File

@ -23,7 +23,6 @@ type accessPublicCommand struct {
func newAccessPublicCommand() *accessPublicCommand { func newAccessPublicCommand() *accessPublicCommand {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "public [<configPath>]", Use: "public [<configPath>]",
Aliases: []string{"fe"},
Short: "Create a public access HTTP frontend", Short: "Create a public access HTTP frontend",
Args: cobra.RangeArgs(0, 1), Args: cobra.RangeArgs(0, 1),
} }

View File

@ -22,7 +22,6 @@ type adminCreateFrontendCommand struct {
func newAdminCreateFrontendCommand() *adminCreateFrontendCommand { func newAdminCreateFrontendCommand() *adminCreateFrontendCommand {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "frontend <zitiId> <publicName> <urlTemplate>", Use: "frontend <zitiId> <publicName> <urlTemplate>",
Aliases: []string{"fe"},
Short: "Create a global public frontend", Short: "Create a global public frontend",
Args: cobra.ExactArgs(3), Args: cobra.ExactArgs(3),
} }

View File

@ -19,7 +19,6 @@ type adminDeleteFrontendCommand struct {
func newAdminDeleteFrontendCommand() *adminDeleteFrontendCommand { func newAdminDeleteFrontendCommand() *adminDeleteFrontendCommand {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "frontend <frontendToken>", Use: "frontend <frontendToken>",
Aliases: []string{"fe"},
Short: "Delete a global public frontend", Short: "Delete a global public frontend",
Args: cobra.ExactArgs(1), Args: cobra.ExactArgs(1),
} }