Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultChannelsDir = "src/channels"
DefaultChannelsDir is the default channels directory for new projects.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scaffolder ¶
type Scaffolder struct {
// contains filtered or unexported fields
}
func NewScaffolder ¶
func NewScaffolder(logger *slog.Logger) *Scaffolder
func (*Scaffolder) BootstrapChannel ¶
func (s *Scaffolder) BootstrapChannel(root, channelName, channelsDir string, force bool) (*Result, error)
BootstrapChannel creates a new channel in an existing project root. channelsDir is the relative path from root (e.g. "src/channels").
func (*Scaffolder) BootstrapProject ¶
func (s *Scaffolder) BootstrapProject(dir, projectName string, force bool) (*Result, error)
BootstrapProject creates a full intu project in dir/projectName.
Click to show internal directories.
Click to hide internal directories.