2017-05-05 10:06:27 +02:00
|
|
|
// Copyright © 2017 NAME HERE <EMAIL ADDRESS>
|
2017-07-30 02:15:55 -06:00
|
|
|
//
|
2017-05-05 10:06:27 +02:00
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
|
|
|
|
package cmd
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
2021-12-16 14:27:35 -05:00
|
|
|
"github.com/OneCloudInc/cobra"
|
2017-05-05 10:06:27 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func init() {
|
2017-11-22 16:13:03 -08:00
|
|
|
rootCmd.AddCommand(testCmd)
|
2019-02-22 13:38:36 -05:00
|
|
|
}
|
2017-05-05 10:06:27 +02:00
|
|
|
|
2019-02-22 13:38:36 -05:00
|
|
|
// testCmd represents the test command
|
|
|
|
var testCmd = &cobra.Command{
|
|
|
|
Use: "test",
|
|
|
|
Short: "test",
|
|
|
|
Long: `Description`,
|
2019-02-22 15:51:50 -05:00
|
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
2019-02-22 13:38:36 -05:00
|
|
|
fmt.Println("test called, place the command logic here")
|
2019-02-22 15:51:50 -05:00
|
|
|
return nil
|
2019-02-22 13:38:36 -05:00
|
|
|
},
|
2017-05-05 10:06:27 +02:00
|
|
|
}
|