summaryrefslogtreecommitdiff
path: root/src/xi.py
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-11-08 22:22:39 +0000
committerdavidovski <david@davidovski.xyz>2021-11-08 22:22:39 +0000
commitd64fccae8d3ef5f39af0da1ccfd5712ad503c0bb (patch)
treee0143ba3ff6adc17f42479adf1c5e615dd0d61d3 /src/xi.py
parenta46c1d6cc58b847b9b140de2c59e1c7a8ba06655 (diff)
separated verbs into submodules
Diffstat (limited to 'src/xi.py')
-rw-r--r--src/xi.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xi.py b/src/xi.py
index 90930c2..9e723de 100644
--- a/src/xi.py
+++ b/src/xi.py
@@ -1,14 +1,14 @@
import options
import config
+from verbs.sync import sync
+
def search():
pass
def install():
pass
def remove():
pass
-def sync():
- pass
verbs = { v: globals()[v] for v in [
"search",
@@ -32,7 +32,7 @@ def main():
(
verbs[verb] if verb in verbs else search
)(
- args[1:] if len(args) > 1 else []
+ args[1:] if len(args) > 1 else [], conf
)
else:
options.print_usage()