diff --git a/bumblebee/engine.py b/bumblebee/engine.py index 922ff70..02cbde1 100644 --- a/bumblebee/engine.py +++ b/bumblebee/engine.py @@ -9,75 +9,6 @@ import bumblebee.theme import bumblebee.output import bumblebee.modules -class Arguments: - def __init__(self): - parser = self.create_parser() - - if len(sys.argv) == 1: - parser.print_help() - parser.exit() - - self._args = parser.parse_args() - - if self._args.list: - self.print_module_list() - self.print_theme_list() - parser.exit() - - def args(self): - return self._args - - def create_parser(self): - parser = argparse.ArgumentParser(description="display system data in the i3bar") - parser.add_argument("-m", "--modules", nargs="+", - help="List of modules to load. The order of the list determines " - "their order in the i3bar (from left to right)", - default=[]) - parser.add_argument("-e", "--events", nargs="+", - help="List of click events that should be handled. Format is: " - "