X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=fba%2Fboot.py;h=ebde9f28c09a102418a54a255649463f69c5a0d3;hb=f6b374725ff4af893f305af980040a67ae3e15c8;hp=c25f707ef3a22290ce803afbeaf1d45368940774;hpb=c25d369f3fb535dc38cd63f7d1edf5ac2d7a6f7d;p=fba.git diff --git a/fba/boot.py b/fba/boot.py index c25f707..ebde9f2 100644 --- a/fba/boot.py +++ b/fba/boot.py @@ -36,7 +36,7 @@ def init_parser(): logger.debug("Initializing parser ...") _PARSER = argparse.ArgumentParser( description="Fetches block reasons from the fediverse", - epilog="Please note that some commands have optional arguments, you may want to try fba.py --help to find them out.", + epilog="Please note that some commands have optional arguments, you may want to try fba.py --help to find them out. Please DO NOT overdose requests that are not limited by themselves. Typically parameters like --domain, --software and --all are unlimited. \"Unlimited\" here means that there is no \"is recently accessed?\" limitation.", ) # Generic: @@ -191,6 +191,13 @@ def init_parser(): parser.add_argument("--domain", help="Instance name (aka. domain)") parser.add_argument("--software", help="Name of software, e.g. 'lemmy'") + ### Fetch instances from instances.social ### + parser = subparser_command.add_parser( + "fetch_instances_social", + help="Fetch instances from instances.social, you need an API key to access the API. Please consider donating to them when you want to more frequent use their API!", + ) + parser.set_defaults(command=commands.fetch_instances_social) + logger.debug("EXIT!") def run_command():