From: David Stainton <dstainton415@gmail.com>
Date: Thu, 18 Jun 2015 19:29:01 +0000 (-0700)
Subject: Add rough create command - test FAILS still however
X-Git-Url: https://git.rkrishnan.org/%5B/frontends/%22file:/?a=commitdiff_plain;h=fd46267f30a156760d5901532d8ab7e3ecb6d67b;p=tahoe-lafs%2Ftahoe-lafs.git

Add rough create command - test FAILS still however
---

diff --git a/src/allmydata/scripts/magic_folder_cli.py b/src/allmydata/scripts/magic_folder_cli.py
index 94436348..04dec10d 100644
--- a/src/allmydata/scripts/magic_folder_cli.py
+++ b/src/allmydata/scripts/magic_folder_cli.py
@@ -16,7 +16,10 @@ class CreateOptions(BasedirOptions):
     synopsis = "MAGIC_ALIAS: [NICKNAME LOCALDIR]"
 
 def create(options):
-    pass
+    from allmydata.scripts import tahoe_add_alias
+    rc = tahoe_add_alias.create_alias(options)
+    #print "node dir %s" % (options['node-directory'],)
+    return rc
 
 class InviteOptions(BasedirOptions):
     pass