From ad8afdfe221ee741d3379e47b23c406c6f9040ca Mon Sep 17 00:00:00 2001 From: Karim Radhouani Date: Tue, 22 Sep 2020 00:34:57 +0800 Subject: [PATCH] add deploy and destroy aliases --- cmd/deploy.go | 2 +- cmd/destroy.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/deploy.go b/cmd/deploy.go index 6582e1565..ff9c50ca6 100644 --- a/cmd/deploy.go +++ b/cmd/deploy.go @@ -23,7 +23,7 @@ var ipv6Subnet net.IPNet var deployCmd = &cobra.Command{ Use: "deploy", Short: "deploy a lab", - + Aliases: []string{"dep"}, Run: func(cmd *cobra.Command, args []string) { c := clab.NewContainerLab(debug) err := c.Init(timeout) diff --git a/cmd/destroy.go b/cmd/destroy.go index 8095ec07f..d4dce09ab 100644 --- a/cmd/destroy.go +++ b/cmd/destroy.go @@ -15,7 +15,7 @@ import ( var destroyCmd = &cobra.Command{ Use: "destroy", Short: "destroy a lab", - + Aliases: []string{"des"}, Run: func(cmd *cobra.Command, args []string) { c := clab.NewContainerLab(debug) err := c.Init(timeout)