Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ListClassCommand ¶
type ListClassCommand struct {
PrettyPrint bool
}
ListClassCommand is the command line data structure for the list action of class
func (*ListClassCommand) RegisterFlags ¶
func (cmd *ListClassCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowClassCommand ¶
ShowClassCommand is the command line data structure for the show action of class
func (*ShowClassCommand) RegisterFlags ¶
func (cmd *ShowClassCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowMembersClassCommand ¶
ShowMembersClassCommand is the command line data structure for the show_members action of class
func (*ShowMembersClassCommand) RegisterFlags ¶
func (cmd *ShowMembersClassCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowQuestionCommand ¶
ShowQuestionCommand is the command line data structure for the show action of question
func (*ShowQuestionCommand) RegisterFlags ¶
func (cmd *ShowQuestionCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowQuestionsClassCommand ¶
type ShowQuestionsClassCommand struct { // Class ID ClassID int // Filter by whether the question has been answered by the member Answered string // Filter by author AuthorID int // Filter by question type QuestionType string // Filter by unit UnitID int PrettyPrint bool }
ShowQuestionsClassCommand is the command line data structure for the show_questions action of class
func (*ShowQuestionsClassCommand) RegisterFlags ¶
func (cmd *ShowQuestionsClassCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.