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
@click.option("--id", multiple=True, help="ID of response rule to export")
1422
+
@click.option("--filename", "-f", type=click.Path(dir_okay=False, writable=True, resolve_path=True), help="Local file path when export to local machine")
1423
+
@click.option("--remote_repository_nickname", default="default", help="Repository nickname when export to remote repository")
1424
+
@click.option("--remote_filepath", default="", help="File path on repository when export to remote repository")
1425
+
@click.option("--comment", default="", help="Comment for export to remote repository")
click.echo("Wrote to %s"%click.format_filename(filename))
1448
+
exceptIOError:
1449
+
click.echo("Error: Failed to write to %s"%click.format_filename(filename))
1450
+
else:
1451
+
click.echo(respData)
1452
+
return
1453
+
1420
1454
@request_export.command('dlp')
1421
1455
@click.option("--name", multiple=True, help="Name of DLP sensor to export")
1422
1456
@click.option("--filename", "-f", type=click.Path(dir_okay=False, writable=True, resolve_path=True), help="Local file path when export to local machine")
0 commit comments