feature: Add --insecure flag for ignoring tls errors

This commit is contained in:
Danila Gudim
2025-12-05 15:31:35 +02:00
committed by Manuel Rüger
parent be4ff0d58a
commit b36d7aa135
3 changed files with 23 additions and 4 deletions

View File

@@ -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 {