cmd

package
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: LGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UrlViperKey               = viperKey("url", "url")
	GradesHistoryFileViperKey = viperKey("history.grades.file", "history")
	UsernameViperKey          = viperKey("login.username", "username")
	PasswordViperKey          = viperKey("login.password", "password")
	ScraperApiUrlViperKey     = viperKey("scraper.api.url", "api-url")
	ScraperApiKeyViperKey     = viperKey("scraper.api.key", "api-key")
	TokenValueViperKey        = viperKey("login.token.value", "")
	TokenStudentIdViperKey    = viperKey("login.token.studentId", "")
	TokenDateValueViperKey    = viperKey("login.token.generatedAt", "")
)

Functions

func Execute

func Execute()

Types

type GradesCmdOpts

type GradesCmdOpts struct {
	// contains filtered or unexported fields
}

func (*GradesCmdOpts) PrintGradesTable

func (g *GradesCmdOpts) PrintGradesTable(classGrades []*parser.ClassGrades)

type LoginCmdOpts

type LoginCmdOpts struct {
	// contains filtered or unexported fields
}

type ReportCardCmdOpts added in v0.2.0

type ReportCardCmdOpts struct {
	// contains filtered or unexported fields
}

func (*ReportCardCmdOpts) PrintReportCardTable added in v0.2.0

func (g *ReportCardCmdOpts) PrintReportCardTable(moduleReports []*parser.ModuleReport)

type ScraperCommand added in v0.3.0

type ScraperCommand struct {
	// contains filtered or unexported fields
}

type ViperKey added in v0.3.0

type ViperKey string

func (ViperKey) Flag added in v0.3.0

func (k ViperKey) Flag() string

func (ViperKey) Key added in v0.3.0

func (k ViperKey) Key() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL