Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultLogDir = "build/logs" DefaultWorkDir = "build/work" )
Variables ¶
View Source
var ErrProjectRootAlreadyExists = errors.New("project root already exists")
ErrProjectRootAlreadyExists is returned when a project root directory already exists but an attempt is made to create it.
Functions ¶
func CreateNewProject ¶
func CreateNewProject(fs opctx.FS, projectPath string, options *NewProjectOptions) error
CreateNewProject creates a new project at the specified directory path, using the provided options.
func GenerateBasicConfig ¶
func GenerateBasicConfig(projectName string) projectconfig.ConfigFile
GenerateBasicConfig generates a basic project configuration file with default paths and settings.
func InitializeProject ¶
func InitializeProject(fs opctx.FS, projectPath string, options *NewProjectOptions) error
InitializeProject initializes project configuration within a given existing directory, using the provided options.
Types ¶
Click to show internal directories.
Click to hide internal directories.