CLI refactor (#396)

* refactor cli to improve ux and enable easy incorporation of prepare as a subcommand

* switches to use click, which removes some boilerplate and gets us some improved ux for free

* changes the entry point for the cli

* changes the name of the browser option to --open and makes the default false
This commit is contained in:
Jeremy Freeman
2018-11-02 10:52:50 -04:00
committed by GitHub
parent 6e46a65c32
commit 0c8a07ac13
11 changed files with 124 additions and 139 deletions
+3 -3
View File
@@ -14,9 +14,9 @@ class CXGDriver(metaclass=ABCMeta):
def __init__(self, data, args):
self.data = self._load_data(data)
self.layout_method = args.layout
self.diffexp_method = args.diffexp
self.max_category_items = args.max_category_items
self.layout_method = args['layout']
self.diffexp_method = args['diffexp']
self.max_category_items = args['max_category_items']
self.cluster = None
@property