refactor(cmd/joj3)!: conf #51
|
@ -20,14 +20,6 @@ type Conf struct {
|
|||
SandboxExecServer string `default:"localhost:5051"`
|
||||
SandboxToken string `default:""`
|
||||
OutputPath string `default:"stages_result.json"`
|
||||
}
|
||||
Teapot struct {
|
||||
Skip bool `default:"true"`
|
||||
LogPath string `default:"/home/tt/.cache/joint-teapot-debug.log"`
|
||||
ScoreboardPath string `default:"scoreboard.csv"`
|
||||
FailedTablePath string `default:"failed-table.md"`
|
||||
GradingRepoName string `default:""`
|
||||
}
|
||||
Stages []struct {
|
||||
Name string
|
||||
Group string
|
||||
|
@ -44,6 +36,14 @@ type Conf struct {
|
|||
}
|
||||
}
|
||||
}
|
||||
Teapot struct {
|
||||
Skip bool `default:"true"`
|
||||
LogPath string `default:"/home/tt/.cache/joint-teapot-debug.log"`
|
||||
ScoreboardPath string `default:"scoreboard.csv"`
|
||||
FailedTablePath string `default:"failed-table.md"`
|
||||
GradingRepoName string `default:""`
|
||||
}
|
||||
}
|
||||
|
||||
type OptionalCmd struct {
|
||||
Args *[]string
|
||||
|
|
Loading…
Reference in New Issue
Block a user