feat: Plik z hasłami musi być szyfrowany. Polecenie szyfrowania
This commit is contained in:
@ -8,13 +8,16 @@ import (
|
||||
"os"
|
||||
)
|
||||
|
||||
const MULTISQLPASS = "MULTISQLPASS" // nazwa ziennej środowiskowej z hasłem
|
||||
|
||||
type Parameters struct {
|
||||
Verbose bool
|
||||
ConfigFile string
|
||||
Passfile string
|
||||
OutDir string
|
||||
SqlDir string
|
||||
LogFile string
|
||||
LogFile string
|
||||
Verbose bool
|
||||
AskPass bool
|
||||
}
|
||||
|
||||
var params Parameters
|
||||
@ -26,6 +29,8 @@ func init() {
|
||||
flag.StringVar(¶ms.OutDir, "outdir", "", "Katalog (istniejący i z prawem do zapisu), do którego generowane są wyniki")
|
||||
flag.StringVar(¶ms.SqlDir, "sqldir", "scripts", "Katalog, w którym znajdują się skrypty do uruchomienia")
|
||||
flag.StringVar(¶ms.LogFile, "log", "", "Plik, do którego zostanie dopisany log programu")
|
||||
flag.BoolVar(¶ms.AskPass, "P", false, "Pytaj o hasło. Jeśli nie podane wymaga się hasła w ")
|
||||
|
||||
flag.Usage = printUsage
|
||||
flag.Parse()
|
||||
}
|
||||
|
Reference in New Issue
Block a user