123456789101112131415161718192021 |
- package command
- import (
- "fmt"
- "github.com/spf13/cobra"
- )
- var ExportContentCommand = &cobra.Command{
- Use: "content",
- Short: "Export kurz content",
- Long: "Export the kurz content from the database",
- Run: exportContentCommand,
- }
- func exportContentCommand(c *cobra.Command, args []string) {
- fmt.Println("Pretend to export the kurz configuration.")
- }
- func init() {
- ExportCommand.AddCommand(ExportContentCommand)
- }
|