ui

package
v0.0.0-...-9a91ec2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: MIT Imports: 9 Imported by: 0

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 を作成する

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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