bookends

ref: d5c35d9ef426ad94b7d960b3241881cee45601eb

cmd/yaml2org.go


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
package cmd

import (
	"fmt"

	"git.pokorny.ca/bookends/pkg/bookends"
	"github.com/spf13/cobra"
)

var yaml2OrgCmd = &cobra.Command{
	Use:   "yaml2org",
	Short: "",
	Run: func(cmd *cobra.Command, args []string) {
		err := bookends.Yaml2Org()
		if err != nil {
			fmt.Println(err)
		}
	},
}