Documentation
¶
Index ¶
- func NewChangelogCmd() *cobra.Command
- func NewCheckCmd() *cobra.Command
- func NewCliffCmd() *cobra.Command
- func NewInitCmd(version string) *cobra.Command
- func NewReleaseCmd() *cobra.Command
- func NewRootCmd(version string, opts ...selfupdate.Option) *cobra.Command
- func NewSelfUpdateCmd(version string, opts ...selfupdate.Option) *cobra.Command
- func NewVersionCmd() *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChangelogCmd ¶ added in v0.6.0
NewChangelogCmd constructs the `heraut changelog` command.
func NewCheckCmd ¶ added in v0.6.0
NewCheckCmd constructs the `heraut check` parent command. When called without a subcommand it runs config + runtime + cliff checks.
func NewCliffCmd ¶ added in v0.6.0
NewCliffCmd constructs the `heraut cliff` parent command.
func NewInitCmd ¶ added in v0.7.0
NewInitCmd constructs the `heraut init` command.
func NewReleaseCmd ¶ added in v0.3.0
NewReleaseCmd constructs the `heraut release` command.
func NewRootCmd ¶
func NewRootCmd(version string, opts ...selfupdate.Option) *cobra.Command
NewRootCmd constructs the root heraut command. opts are forwarded to the self-update subsystem (e.g. selfupdate.WithLatestURL for tests).
func NewSelfUpdateCmd ¶ added in v0.7.0
func NewSelfUpdateCmd(version string, opts ...selfupdate.Option) *cobra.Command
NewSelfUpdateCmd constructs the `heraut self-update` command.
func NewVersionCmd ¶ added in v0.4.0
NewVersionCmd constructs the `heraut version` parent command and its subcommands.
Types ¶
This section is empty.