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
parser.add_argument("-l", "--login", dest="login", action='store_true', help="login to source wiki for access permission")
629
639
parser.add_argument("-s", "--source", dest="source", help="source wiki id", required=True)
630
-
parser.add_argument("--format", dest="format", default='json', help="format to use for query result csv,json,xml,ttl or wiki")
640
+
parser.add_argument("--format", dest="format", default='json', help="format to use for query result csv,json,lod or any of the tablefmt options of https://pypi.org/project/tabulate/")
631
641
parser.add_argument("--entityName", dest="entityName", default='data', help="name of the entites that are queried - only needed for some output formats - default is 'data'")
632
642
elifmode=="wikiupload":
633
643
parser.add_argument("--files", nargs='+', help="list of files to be uploaded", required=True)
parser.add_argument("-p", "--pages", nargs='+', help="list of page Titles to be pushed", required=False)
649
659
parser.add_argument("-ui", "--withGUI", dest="ui", help="Pop up GUI for selection", action="store_true",required=False)
650
660
parser.add_argument("-qd", "--queryDivision", default=1, dest="queryDivision", type=int, help="divide query into equidistant subintervals to limit the result size of the individual queries", required=False)
651
-
661
+
ifmodein ["wikiquery"]:
662
+
parser.add_argument("--title",help="the title for the query")
652
663
ifnotmodein ["wikibackup", "wikiquery"]:
653
664
parser.add_argument("-t", "--target", dest="target", help="target wiki id", required=True)
0 commit comments