From 076f331398ccbbe05bbba535fb6013b08cec82e7 Mon Sep 17 00:00:00 2001 From: David Stainton Date: Thu, 18 Jun 2015 12:29:01 -0700 Subject: [PATCH] Add rough create command - test FAILS still however --- src/allmydata/scripts/magic_folder_cli.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.45.2