]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Add rough create command - test FAILS still however
authorDavid Stainton <dstainton415@gmail.com>
Thu, 18 Jun 2015 19:29:01 +0000 (12:29 -0700)
committerDavid Stainton <dstainton415@gmail.com>
Thu, 18 Jun 2015 19:29:01 +0000 (12:29 -0700)
src/allmydata/scripts/magic_folder_cli.py

index 94436348fcd721e7f1a8536c74339b80e148e72e..04dec10d33004c4b91fa68f636ea651097fdcbf6 100644 (file)
@@ -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