func (i Initializer) Basic() error {
	box := i.Box
	log := i.Logger
	template, err := box.Find("simple_spec_template.yaml")
	if err != nil {
		log.WithError(err).Errorln("error reading in template from docs")
		return err
	}
	if i.Dry {
		if _, err := os.Stdout.Write(template); err != nil {
			log.WithError(err).Errorln("error writing template to stdout")
			return err
		}
	}
	if err := ioutil.WriteFile("ocibuilder.yaml", template, 0644); err != nil {
		log.WithError(err).Errorln("error generating ocibuilder.yaml template file")
		return err
	}
	return nil
}
Basic handles a basic ocictl init, creating a documented ocibuilder.yaml specification to be modified
package initialize
import (
	"io/ioutil"
	"os"
	"strings"
	"github.com/gobuffalo/packr"
	"github.com/ocibuilder/ocibuilder/pkg/generate"
	"github.com/sirupsen/logrus"
)
type Initializer struct {
	Box    packr.Box
	Dry    bool
	Logger *logrus.Logger
}