bookends

ref: 3da94146cf7e50145c027e8528321d29c9b72b29

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)
		}
	},
}