mirror of
https://github.com/kovetskiy/mark.git
synced 2026-04-19 21:02:34 +00:00
feature: Add --insecure flag for ignoring tls errors
This commit is contained in:
committed by
Manuel Rüger
parent
be4ff0d58a
commit
b36d7aa135
@@ -49,7 +49,7 @@ func RunMark(ctx context.Context, cmd *cli.Command) error {
|
||||
return err
|
||||
}
|
||||
|
||||
api := confluence.NewAPI(creds.BaseURL, creds.Username, creds.Password)
|
||||
api := confluence.NewAPI(creds.BaseURL, creds.Username, creds.Password, cmd.Bool("insecure"))
|
||||
|
||||
files, err := doublestar.FilepathGlob(cmd.String("files"))
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user