Documentation
¶
Index ¶
- Constants
- type Ctx
- type InitCommand
- func (cmd *InitCommand) Args() string
- func (cmd *InitCommand) Hidden() bool
- func (cmd *InitCommand) LongHelp() string
- func (cmd *InitCommand) Name() string
- func (cmd *InitCommand) Register(fs *flag.FlagSet)
- func (cmd *InitCommand) Run(ctx *Ctx, args []string) error
- func (cmd *InitCommand) ShortHelp() string
- type Manifest
- type RawBuild
- type RawManifest
- type RawRelease
- type RawVersion
Constants ¶
View Source
const ManifestName = ".pm"
ManifestName is the manifest file name used by semver.
View Source
const ManifestType = "toml"
ManifestType is the manisfest file name format
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ctx ¶
type Ctx struct { WorkingDir string // Where to execute. Manifest *Manifest Out, Err *log.Logger // Required loggers. }
Ctx ...
type Manifest ¶
Manifest holds manifest file data
func (*Manifest) ValidateManifest ¶
ValidateManifest ...
type RawManifest ¶
type RawManifest struct { Version RawVersion `mapstructure:"version"` Release RawRelease `mapstructure:"release"` Build RawBuild `mapstructure:"build"` }
RawManifest ...
Click to show internal directories.
Click to hide internal directories.