Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateCourseCommand ¶
CreateCourseCommand is the command line data structure for the create action of course
func (*CreateCourseCommand) RegisterFlags ¶
func (cmd *CreateCourseCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type CreateRegistrationCommand ¶
CreateRegistrationCommand is the command line data structure for the create action of registration
func (*CreateRegistrationCommand) RegisterFlags ¶
func (cmd *CreateRegistrationCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type DeleteCourseCommand ¶
DeleteCourseCommand is the command line data structure for the delete action of course
func (*DeleteCourseCommand) RegisterFlags ¶
func (cmd *DeleteCourseCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type DownloadCommand ¶
type DownloadCommand struct { // OutFile is the path to the download output file. OutFile string }
DownloadCommand is the command line data structure for the download command.
type ListRegistrationCommand ¶
ListRegistrationCommand is the command line data structure for the list action of registration
func (*ListRegistrationCommand) RegisterFlags ¶
func (cmd *ListRegistrationCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowCourseCommand ¶
ShowCourseCommand is the command line data structure for the show action of course
func (*ShowCourseCommand) RegisterFlags ¶
func (cmd *ShowCourseCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowRegistrationCommand ¶
type ShowRegistrationCommand struct { // The registration ID ID int // The view used to render the registration View string PrettyPrint bool }
ShowRegistrationCommand is the command line data structure for the show action of registration
func (*ShowRegistrationCommand) RegisterFlags ¶
func (cmd *ShowRegistrationCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.