Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
func Apply(deps Dependencies, args Args) interface{}
Apply assign a co-author to an alias
Types ¶
type AssignmentAborted ¶
type AssignmentAborted struct {
Alias string
}
AssignmentAborted nothing happened
type AssignmentFailed ¶
type AssignmentFailed struct {
Reason error
}
AssignmentFailed assignment of coauthor to alias failed with Reason
type AssignmentSucceeded ¶
type AssignmentSucceeded struct {
Alias string
}
AssignmentSucceeded assignment of coauthor to alias succeeded
type Definition ¶
type Definition struct {
CommandName string
Args Args
Deps Dependencies
}
Definition the command, arguments, and dependencies
func New ¶
func New(name string, alias, coauthor *string) Definition
New the constructor for Definition
Click to show internal directories.
Click to hide internal directories.