Documentation
¶
Index ¶
Constants ¶
View Source
const ( FilePermission = 0644 DirectoryPermission = 0755 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
Output io.Writer
Logger *log.Logger
Config *config.Config
Templates repositories.TemplateRepository
Renderer renderer.TemplateRenderer
CreateDir bool
Force bool
Now func() time.Time
}
func NewCommand ¶
func NewCommand( output io.Writer, logger *log.Logger, config *config.Config, templates repositories.TemplateRepository, renderer renderer.TemplateRenderer, createDir bool, force bool, ) *Command
Click to show internal directories.
Click to hide internal directories.