Documentation
¶
Index ¶
- type AdvancedTemplates
- type DBDriver
- type DBDriverTemplater
- type Docker
- type DockerTemplater
- type Framework
- type Project
- func (p *Project) CheckOS()
- func (p *Project) CreateFileWithInjection(pathToCreate string, projectPath string, fileName string, methodName string) error
- func (p *Project) CreateMainFile() error
- func (p *Project) CreatePath(pathToCreate string, projectPath string) error
- func (p *Project) CreateViteReactProject(projectPath string) error
- func (p *Project) CreateWebsocketImports(appDir string)
- func (p *Project) ExitCLI(tprogram *tea.Program)
- type Templater
- type WorkflowTemplater
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdvancedTemplates ¶
type DBDriverTemplater ¶
type DockerTemplater ¶
type DockerTemplater interface {
Docker() []byte
}
type Project ¶
type Project struct {
ProjectName string
Exit bool
AbsolutePath string
ProjectType flags.Framework
DBDriver flags.Database
Docker flags.Database
FrameworkMap map[flags.Framework]Framework
DBDriverMap map[flags.Database]DBDriver
DockerMap map[flags.Database]Docker
AdvancedOptions map[string]bool
AdvancedTemplates AdvancedTemplates
GitOptions flags.Git
OSCheck map[string]bool
}
func (*Project) CreateFileWithInjection ¶
func (p *Project) CreateFileWithInjection(pathToCreate string, projectPath string, fileName string, methodName string) error
CreateFileWithInjection creates the given file at the project path, and injects the appropriate template
func (*Project) CreateMainFile ¶
func (*Project) CreatePath ¶
CreatePath creates the given directory in the projectPath
func (*Project) CreateViteReactProject ¶
func (*Project) CreateWebsocketImports ¶
type WorkflowTemplater ¶
Click to show internal directories.
Click to hide internal directories.