feat: add prop clone command

This commit is contained in:
Jose Diaz-Gonzalez committed 2020-02-17 18:48:06 -05:00
1 parent ebd27cd666
commit d336d7c5c2
3 files changed
+30

No files matched your search

+8
View File
@@ -33,6 +33,14 @@ func main() {
pluginName := flag.Arg(1)
switch cmd {
case "clone":
oldAppName := flag.Arg(2)
newAppName := flag.Arg(3)
err := common.PropertyClone(pluginName, oldAppName, newAppName)
if err != nil {
fmt.Fprintln(os.Stderr, err.Error())
os.Exit(1)
}
case "del":
appName := flag.Arg(2)
property := flag.Arg(3)