mirror of
https://github.com/QData/TextAttack.git
synced 2021-10-13 00:05:06 +03:00
choose your own filename for txt and csv
This commit is contained in:
@@ -81,6 +81,13 @@ class AttackCommand(TextAttackCommand):
|
||||
help="A directory to output results to.",
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
"--txt-filename",
|
||||
type=str,
|
||||
required=False,
|
||||
help="Specify the name of saved txt files."
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
"--log-to-file",
|
||||
"-l",
|
||||
@@ -111,6 +118,13 @@ class AttackCommand(TextAttackCommand):
|
||||
help="Enable logging to csv. Use --enable-csv plain to remove [[]] around words.",
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
"--csv-filename",
|
||||
type=str,
|
||||
required=False,
|
||||
help="Specify the name of saved csv files."
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
"--interactive",
|
||||
action="store_true",
|
||||
|
||||
Reference in New Issue
Block a user