Documentation ¶
Index ¶
- func GetBuildParam(c *cli.Context) string
- func GetClientParam(c *cli.Context) string
- func GetIdentifierParam(c *cli.Context) string
- func GetModParam(c *cli.Context) string
- func GetPackParam(c *cli.Context) string
- func GetTeamParam(c *cli.Context) string
- func GetUserParam(c *cli.Context) string
- func GetVersionParam(c *cli.Context) string
- func Handle(c *cli.Context, fn HandleFunc) error
- func PrettyError(err error) error
- func Profile() *cli.Command
- func ProfileLogin(c *cli.Context, _ *Client) error
- func ProfileShow(c *cli.Context, _ *Client) error
- func ProfileToken(c *cli.Context, _ *Client) error
- func ProfileUpdate(_ *cli.Context, _ *Client) error
- func Run() error
- func Team() *cli.Command
- func TeamCreate(c *cli.Context, client *Client) error
- func TeamDelete(c *cli.Context, client *Client) error
- func TeamList(c *cli.Context, client *Client) error
- func TeamShow(c *cli.Context, client *Client) error
- func TeamUpdate(c *cli.Context, client *Client) error
- func TeamUserAppend(c *cli.Context, client *Client) error
- func TeamUserList(c *cli.Context, client *Client) error
- func TeamUserRemove(c *cli.Context, client *Client) error
- func User() *cli.Command
- func UserCreate(c *cli.Context, client *Client) error
- func UserDelete(c *cli.Context, client *Client) error
- func UserList(c *cli.Context, client *Client) error
- func UserShow(c *cli.Context, client *Client) error
- func UserTeamAppend(c *cli.Context, client *Client) error
- func UserTeamList(c *cli.Context, client *Client) error
- func UserTeamRemove(c *cli.Context, client *Client) error
- func UserUpdate(c *cli.Context, client *Client) error
- type Client
- type HandleFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBuildParam ¶
func GetBuildParam(c *cli.Context) string
GetBuildParam checks and returns the build id/slug parameter.
func GetClientParam ¶
func GetClientParam(c *cli.Context) string
GetClientParam checks and returns the client id/slug parameter.
func GetIdentifierParam ¶
func GetIdentifierParam(c *cli.Context) string
GetIdentifierParam checks and returns the record id/slug parameter.
func GetModParam ¶
func GetModParam(c *cli.Context) string
GetModParam checks and returns the mod id/slug parameter.
func GetPackParam ¶
func GetPackParam(c *cli.Context) string
GetPackParam checks and returns the pack id/slug parameter.
func GetTeamParam ¶
func GetTeamParam(c *cli.Context) string
GetTeamParam checks and returns the team id/slug parameter.
func GetUserParam ¶
func GetUserParam(c *cli.Context) string
GetUserParam checks and returns the user id/slug parameter.
func GetVersionParam ¶
func GetVersionParam(c *cli.Context) string
GetVersionParam checks and returns the version id/slug parameter.
func Handle ¶
func Handle(c *cli.Context, fn HandleFunc) error
Handle wraps the command function handler.
func PrettyError ¶
PrettyError catches regular networking errors and prints it.
func ProfileLogin ¶
ProfileLogin provides the sub-command to login by credentials.
func ProfileShow ¶
ProfileShow provides the sub-command to show profile details.
func ProfileToken ¶
ProfileToken provides the sub-command to show your token.
func ProfileUpdate ¶
ProfileUpdate provides the sub-command to update the profile.
func TeamCreate ¶
TeamCreate provides the sub-command to create a team.
func TeamDelete ¶
TeamDelete provides the sub-command to delete a team.
func TeamUpdate ¶
TeamUpdate provides the sub-command to update a team.
func TeamUserAppend ¶
TeamUserAppend provides the sub-command to append a user to the team.
func TeamUserList ¶
TeamUserList provides the sub-command to list users of the team.
func TeamUserRemove ¶
TeamUserRemove provides the sub-command to remove a user from the team.
func UserCreate ¶
UserCreate provides the sub-command to create a user.
func UserDelete ¶
UserDelete provides the sub-command to delete a user.
func UserTeamAppend ¶
UserTeamAppend provides the sub-command to append a team to the user.
func UserTeamList ¶
UserTeamList provides the sub-command to list teams of the user.
func UserTeamRemove ¶
UserTeamRemove provides the sub-command to remove a team from the user.
func UserUpdate ¶
UserUpdate provides the sub-command to update a user.
Types ¶
type HandleFunc ¶
HandleFunc is the real handle implementation.