You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/config.go
+21-11Lines changed: 21 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -70,16 +70,16 @@ type Modifier struct {
70
70
}
71
71
72
72
typeCodeConfigstruct {
73
-
Langstring`yaml:"lang" mapstructure:"lang" comment:"Language of code generated for questions: go, python, ... \n(will be override by project config and flag --lang)"`
SeparateDescriptionFilebool`yaml:"separate_description_file" mapstructure:"separate_description_file" comment:"Generate question description into a separate question.md file"`
76
-
Blocks []Block`yaml:"blocks,omitempty" mapstructure:"blocks" comment:"Default block definitions for all languages"`
77
-
Modifiers []Modifier`yaml:"modifiers,omitempty" mapstructure:"modifiers" comment:"Default modifiers for all languages"`
Langstring`yaml:"lang" mapstructure:"lang" comment:"Language of code generated for questions: go, python, ... \n(will be overridden by command line flag -l/--lang)"`
SeparateDescriptionFilebool`yaml:"separate_description_file" mapstructure:"separate_description_file" comment:"Generate question description into a separate question.md file"`
76
+
Blocks []Block`yaml:"blocks,omitempty" mapstructure:"blocks" comment:"Default block definitions for all languages"`
77
+
Modifiers []Modifier`yaml:"modifiers,omitempty" mapstructure:"modifiers" comment:"Default modifiers for all languages"`
GroupIDstring`yaml:"group_id" mapstructure:"group_id" comment:"Maven group ID"`
116
+
}
117
+
113
118
typeCredentialsstruct {
114
119
Fromstring`yaml:"from" mapstructure:"from" comment:"How to provide credentials: browser, cookies, password or none"`
115
120
Browsers []string`yaml:"browsers" mapstructure:"browsers" comment:"Browsers to get cookies from: chrome, safari, edge or firefox. If empty, all browsers will be tried"`
0 commit comments