mirror of
https://github.com/openziti/zrok.git
synced 2024-11-23 00:23:48 +01:00
cli aliases (#129)
This commit is contained in:
parent
5ba457313a
commit
dc24a0532b
@ -19,6 +19,7 @@ type adminCreateFrontendCommand struct {
|
||||
func newAdminCreateFrontendCommand() *adminCreateFrontendCommand {
|
||||
cmd := &cobra.Command{
|
||||
Use: "frontend <zitiId> <publicName> <urlTemplate>",
|
||||
Aliases: []string{"fe"},
|
||||
Short: "Create a global public frontend",
|
||||
Args: cobra.ExactArgs(3),
|
||||
}
|
||||
|
@ -19,6 +19,7 @@ type adminDeleteFrontendCommand struct {
|
||||
func newAdminDeleteFrontendCommand() *adminDeleteFrontendCommand {
|
||||
cmd := &cobra.Command{
|
||||
Use: "frontend <frontendToken>",
|
||||
Aliases: []string{"fe"},
|
||||
Short: "Delete a global public frontend",
|
||||
Args: cobra.ExactArgs(1),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user