Documentation ¶
Index ¶
- Constants
- func AreWeInProjectDir() (string, error)
- func ConvertTemplateName(appDir string, path string) string
- func CreateNewApp(rootDir string, name string) error
- func FindPartialTemplates(appDir string) []string
- func GetRelativePath(appDir string, path string) (string, error)
- func LoadFileAsString(path string) (string, error)
- func LoadPartialTemplates(appDir string, partialTemplatePaths []string, ...) *template.Template
- func ParseAndInsert(appDir string, content string, jsonContent map[string]interface{}, ...) (string, error)
- func PathToDirs(path string) []string
- func Reverse(things []string) []string
- func SplitJsonAndMarkdown(filename string) (map[string]interface{}, string, error)
- type CreateCommand
- type NewCommand
- type RunCommand
Constants ¶
View Source
const EXT = ".md"
Variables ¶
This section is empty.
Functions ¶
func AreWeInProjectDir ¶
func ConvertTemplateName ¶
func CreateNewApp ¶
func FindPartialTemplates ¶
func LoadFileAsString ¶
func LoadPartialTemplates ¶
func ParseAndInsert ¶
func PathToDirs ¶
Types ¶
type CreateCommand ¶
func (*CreateCommand) Help ¶
func (c *CreateCommand) Help() string
func (*CreateCommand) Run ¶
func (c *CreateCommand) Run(args []string) int
func (*CreateCommand) Synopsis ¶
func (c *CreateCommand) Synopsis() string
type NewCommand ¶
func (*NewCommand) Help ¶
func (c *NewCommand) Help() string
func (*NewCommand) Run ¶
func (c *NewCommand) Run(args []string) int
func (*NewCommand) Synopsis ¶
func (c *NewCommand) Synopsis() string
type RunCommand ¶
func (*RunCommand) Help ¶
func (c *RunCommand) Help() string
func (*RunCommand) Run ¶
func (c *RunCommand) Run(args []string) int
func (*RunCommand) Synopsis ¶
func (c *RunCommand) Synopsis() string
Click to show internal directories.
Click to hide internal directories.