export.go 413 B

12345678910111213141516171819
  1. package main
  2. import (
  3. "fmt"
  4. "github.com/spf13/cobra"
  5. )
  6. var cmdExport = &cobra.Command{
  7. Use: "export",
  8. Short: "Export configuration or content",
  9. Long: "Provides subcommands to export configuration as Kurz gets it or content found in the database",
  10. Run: func(cmd *cobra.Command, args []string) {
  11. fmt.Println("Please use one of the export subcommands")
  12. },
  13. }
  14. func init() {
  15. cmd.AddCommand(cmdExport)
  16. }