init

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MsgShort       = "Create a new pack with template files"
	MsgFlagType    = "Type of pack to create (basic, shell, vim, etc.)"
	MsgErrInitPack = "failed to initialize pack: %w"
)

Message constants

Variables

View Source
var (
	MsgLong = strings.TrimSpace(msgLongRaw)

	MsgExample = strings.TrimSpace(msgExampleRaw)
)

Embedded message files

Functions

func NewCommand

func NewCommand() *cobra.Command

NewCommand creates the init command The command logic is kept in the main commands file for now to avoid circular dependencies

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL