summaryrefslogtreecommitdiff
path: root/src/xi.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/xi.py')
-rw-r--r--src/xi.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/xi.py b/src/xi.py
index 2449328..90930c2 100644
--- a/src/xi.py
+++ b/src/xi.py
@@ -1,21 +1,20 @@
import options
+import config
-def search(terms):
- print(f"searching for {terms}")
+def search():
pass
-
-def install(terms):
- print(f"installing for {terms}")
+def install():
pass
-
-def remove(terms):
- print(f"removing for {terms}")
+def remove():
+ pass
+def sync():
pass
verbs = { v: globals()[v] for v in [
"search",
- "install"
- "remove"
+ "install",
+ "remove",
+ "sync"
]
}
@@ -27,6 +26,7 @@ def main():
options.print_usage()
return
+ conf = config.parse_file(opts["c"])
if len(args) > 0:
verb = args[0].lower()
(