From b20719c2face31f91b51eeae02d855128bf274a8 Mon Sep 17 00:00:00 2001 From: itec Date: Thu, 29 Oct 2020 16:47:13 +0100 Subject: [PATCH] removed preset from cli --- banana/cli.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/banana/cli.py b/banana/cli.py index 034796b..d2e7d30 100644 --- a/banana/cli.py +++ b/banana/cli.py @@ -8,14 +8,6 @@ import banana def get_codec(args): - if args.banana: - return banana.BananaCodec() - if args.ananas: - return banana.AnanasCodec() - if args.ribes: - return banana.RibesCodec() - if args.avocado: - return banana.AvocadoCodec() kwargs = {} if args.alphabets: kwargs["alphabets"] = args.alphabets @@ -66,10 +58,6 @@ def main(): parser.add_argument( "--log-level", choices=["DEBUG", "INFO", "WARN", "ERROR"], default="WARN" ) - parser.add_argument("--ananas", action="store_true") - parser.add_argument("--avocado", action="store_true") - parser.add_argument("--banana", action="store_true") - parser.add_argument("--ribes", action="store_true") parser.add_argument( "--alphabets", help="Set alphabets in colon-separated list",