Documentation
¶
Index ¶
- Constants
- Variables
- func CreateAction(databasePath *string, leakPath *string, context *string, ...) func(cCtx *cli.Context) error
- func CreateAppHelpTemplate(base string) string
- func CreateCliApp(...) cli.App
- func CreateCliAuthors() []*cli.Author
- func CreateCliFlags(databasePath *string, leakPath *string, context *string, ...) []cli.Flag
- func IsProceedAnswer(s []string, e string) bool
Constants ¶
View Source
const ( FlagDatabasePath = "database-path" FlagLeakPath = "leak-path" FlagLeakContext = "context" FlagLeakPlatforms = "platforms" FlagLeakers = "leakers" FlagNotifyNewLeakURL = "notify url" FlagSkipInteractiveMode = "skip-interactive-mode" )
View Source
const MaxErrorLogCalls = 20000
Variables ¶
View Source
var AliasesFlagDatabasePath = []string{"db"}
View Source
var AliasesFlagLeakContext = []string{"c"}
View Source
var AliasesFlagLeakPath = []string{"lp"}
View Source
var AliasesFlagLeakPlatforms = []string{"p"}
View Source
var AliasesFlagLeakers = []string{"l"}
View Source
var AliasesFlagNotifyNewLeakURL = []string{"notify-url"}
View Source
var AliasesFlagSkipInteractiveMode = []string{"skip"}
Functions ¶
func CreateAction ¶
func CreateAction(databasePath *string, leakPath *string, context *string, platforms *cli.StringSlice, shareDate *cli.Timestamp, leakers *cli.StringSlice, notifyNewLeakURL *string, skipInteractiveMode *bool, storeImport func(databasePath string, i query.Import) (entity.AutoGenKey, error), notifyImport func(entity.AutoGenKey, string) error, ) func(cCtx *cli.Context) error
func CreateAppHelpTemplate ¶
func CreateCliApp ¶
func CreateCliAuthors ¶
func CreateCliFlags ¶
func IsProceedAnswer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.