Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotTFCCommand = errors.New("not a TFC command") ErrOtherTFTool = errors.New("use 'tfc' to interact with tfbuddy") ErrNoNotePassed = errors.New("no notes passed in note block") ErrInvalidAction = errors.New("invalid tfc action") ErrPermanent = fmt.Errorf("could not parse comment as command. %w", utils.ErrPermanent) )
Functions ¶
This section is empty.
Types ¶
type CommentArgs ¶
type CommentOpts ¶
type CommentOpts struct { TriggerOpts *tfc_trigger.TFCTriggerOptions Args CommentArgs `positional-args:"yes" required:"yes"` }
func ParseCommentCommand ¶
func ParseCommentCommand(noteBody string) (*CommentOpts, error)
Click to show internal directories.
Click to hide internal directories.