mirror of
https://github.com/openziti/zrok.git
synced 2025-06-20 09:48:07 +02:00
cli lint removal
This commit is contained in:
parent
ebfb039687
commit
3c0477f9e3
@ -22,8 +22,6 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
var accessPrivateCmd *accessPrivateCommand
|
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
accessCmd.AddCommand(newAccessPrivateCommand().cmd)
|
accessCmd.AddCommand(newAccessPrivateCommand().cmd)
|
||||||
}
|
}
|
||||||
|
@ -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),
|
||||||
}
|
}
|
||||||
|
@ -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),
|
||||||
}
|
}
|
||||||
|
@ -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),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user