Documentation ¶
Overview ¶
Package actions provide the support for creating cli commands that run in GitHub actions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubActionCommand ¶
type GitHubActionCommand struct { cli.BaseCommand FlagIsGitHubActions bool Action *githubactions.Action }
func (*GitHubActionCommand) Register ¶
func (c *GitHubActionCommand) Register(set *cli.FlagSet)
func (*GitHubActionCommand) WithActionsOutGroup ¶
func (c *GitHubActionCommand) WithActionsOutGroup(msg string, fn func() error) error
WithActionsOutGroup runs a function and ensures it is wrapped in GitHub actions grouping syntax. If this is not in an action, output is printed without grouping syntax.
Click to show internal directories.
Click to hide internal directories.