Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ColumnOrder = []string{
"ItemName",
"UserName",
"Password",
"Tag",
}
View Source
var FlagMapping = map[string]int{
"ItemName": 1,
"UserName": 2,
"Password": 4,
"Tag": 8,
"NoPass": 15,
"All": 15,
}
Functions ¶
This section is empty.
Types ¶
type Flags ¶
type Flags struct { All bool ItemName bool UserName bool Password bool Tag bool NoPass bool NoHeader bool FormatCSV bool FormatTable bool // contains filtered or unexported fields }
func (Flags) DisplayRow ¶
func (e Flags) DisplayRow(c db.Credential)
func (Flags) DisplayRows ¶
func (e Flags) DisplayRows(credentials db.Credentials)
func (Flags) GenerateCredentialFromInputInterfaces ¶
func (e Flags) GenerateCredentialFromInputInterfaces() db.Credential
入力する変数を e.cond の値から決定し、必要なものを入力させた上で credential の obj を作成する
Click to show internal directories.
Click to hide internal directories.