Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitPack ¶
func InitPack(opts InitPackOptions) (*types.InitResult, error)
InitPack creates a new pack directory with template files and configuration.
Types ¶
type InitPackOptions ¶
type InitPackOptions struct {
// DotfilesRoot is the path to the root of the dotfiles directory.
DotfilesRoot string
// PackName is the name of the new pack to create.
PackName string
}
InitPackOptions defines the options for the InitPack command.
Click to show internal directories.
Click to hide internal directories.