crash.software
Projects
Pull Requests
Issues
Builds
bearer
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
bearer
Files
🤬
Sign In
787a1116
ROOT
/
pkg
/
flag
/
options.go
Search
History
278 lines
|
ISO-8859-1
|
6 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ErrInvalidScannerReportCombination
Flag
Name
:
string
ConfigName
:
string
Shorthand
:
string
Value
Usage
:
string
DisableInConfig
:
bool
Deprecated
:
bool
FlagGroup
Name
()
:
string
Flags
()
:
[]*Flag
Flags
RepoFlagGroup
:
*RepoFlagGroup
ReportFlagGroup
:
*ReportFlagGroup
RuleFlagGroup
:
*RuleFlagGroup
ProcessFlagGroup
:
*ProcessFlagGroup
ScanFlagGroup
:
*ScanFlagGroup
GeneralFlagGroup
:
*GeneralFlagGroup
Options
RepoOptions
ReportOptions
RuleOptions
ScanOptions
GeneralOptions
addFlag
(cmd *cobra.Command, flag *Flag)
bind
(cmd *cobra.Command, flag *Flag)
:
error
argsToMap
(flag *Flag)
:
map[string]bool
getString
(flag *Flag)
:
string
getStringSlice
(flag *Flag)
:
[]string
getBool
(flag *Flag)
:
bool
getDuration
(flag *Flag)
:
time.Duration
*Flags
groups
()
:
[]FlagGroup
AddFlags
(cmd *cobra.Command)
Usages
(cmd *cobra.Command)
:
string
Bind
(cmd *cobra.Command)
:
error
BindForConfigInit
(cmd *cobra.Command)
:
error
bind
(cmd *cobra.Command, supportIgnoreConfig bool)
:
error
ToOptions
(args []string)
:
(Options, error)
All occurrences
Please wait...
Page is in error, reload to recover