diff options
author | Stephen Wong <stephen.kf.wong@gmail.com> | 2018-08-19 07:18:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-08-19 07:18:00 +0000 |
commit | 94cd16d7b0dc898e0c54ebe0f8378f27ded67e14 (patch) | |
tree | ad7df714704a6bccb0b46b874062ef9cf6f1377b /clover/cloverctl/src/cloverctl/cmd/create.go | |
parent | d24dce594859ece995e2775013951a3e12258d95 (diff) | |
parent | c0837d0701009e6142f9800f2b146bec17d6910f (diff) |
Merge "Implement initial cloverctl CLI tool"
Diffstat (limited to 'clover/cloverctl/src/cloverctl/cmd/create.go')
-rw-r--r-- | clover/cloverctl/src/cloverctl/cmd/create.go | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/clover/cloverctl/src/cloverctl/cmd/create.go b/clover/cloverctl/src/cloverctl/cmd/create.go new file mode 100644 index 0000000..3a09fa4 --- /dev/null +++ b/clover/cloverctl/src/cloverctl/cmd/create.go @@ -0,0 +1,26 @@ +// Copyright (c) Authors of Clover +// +// All rights reserved. This program and the accompanying materials +// are made available under the terms of the Apache License, Version 2.0 +// which accompanies this distribution, and is available at +// http://www.apache.org/licenses/LICENSE-2.0 + +package cmd + +import ( + "fmt" + "github.com/spf13/cobra" +) + +var createCmd = &cobra.Command{ + Use: "create", + Short: "Create resources including IDS rules, L7 testplans, etc.", + Long: ``, + Run: func(cmd *cobra.Command, args []string) { + fmt.Println("create called") + }, +} + +func init() { + rootCmd.AddCommand(createCmd) +} |