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
flag.StringVarP(&options.reportDirectory, "reportDirectory", "r", "talisman_report", "directory where the scan reports will be stored")
63
-
flag.BoolVarP(&options.scanWithHtml, "scanWithHtml", "w", false, "generate html report (**Make sure you have installed talisman_html_report to use this, as mentioned in Readme**)")
64
-
flag.BoolVarP(&interactive, "interactive", "i", false, "interactively update talismanrc (only makes sense with -g/--githook)")
65
-
flag.BoolVarP(&options.shouldProfile, "profile", "", false, "interactively update talismanrc (only makes sense with -g/--githook)")
54
+
flag.BoolVarP(&options.debug,
55
+
"debug", "d", false,
56
+
"enable debug mode (warning: very verbose)")
57
+
flag.StringVarP(&options.loglevel,
58
+
"loglevel", "l", "error",
59
+
"enable debug mode (warning: very verbose)")
60
+
flag.BoolVarP(&showVersion,
61
+
"version", "v", false,
62
+
"show current version of talisman")
63
+
flag.StringVarP(&options.pattern,
64
+
"pattern", "p", "",
65
+
"pattern (glob-like) of files to scan (ignores githooks)")
66
+
flag.StringVarP(&options.githook,
67
+
"githook", "g", PrePush,
68
+
"either pre-push or pre-commit")
69
+
flag.BoolVarP(&options.scan,
70
+
"scan", "s", false,
71
+
"scanner scans the git commit history for potential secrets")
72
+
flag.BoolVar(&options.ignoreHistory,
73
+
"ignoreHistory", false,
74
+
"scanner scans all files on current head, will not scan through git commit history")
75
+
flag.StringVarP(&options.checksum,
76
+
"checksum", "c", "",
77
+
"checksum calculator calculates checksum and suggests .talismanrc format")
78
+
flag.StringVarP(&options.reportDirectory,
79
+
"reportDirectory", "r", "talisman_report",
80
+
"directory where the scan reports will be stored")
81
+
flag.BoolVarP(&options.scanWithHtml,
82
+
"scanWithHtml", "w", false,
83
+
"generate html report (**Make sure you have installed talisman_html_report to use this, as mentioned in Readme**)")
84
+
flag.BoolVarP(&interactive,
85
+
"interactive", "i", false,
86
+
"interactively update talismanrc (only makes sense with -g/--githook)")
0 commit comments