From e5ed1ba2df6f735e32de35d9171d572dce322b7f Mon Sep 17 00:00:00 2001 From: elijah Date: Wed, 28 Nov 2012 20:14:05 -0800 Subject: new system for how directory paths work. now there is a file Leapfile that manages this, instead of it always being ../leap_platform --- lib/leap_cli/commands/node.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/leap_cli/commands/node.rb') diff --git a/lib/leap_cli/commands/node.rb b/lib/leap_cli/commands/node.rb index 678bebd..aa9610f 100644 --- a/lib/leap_cli/commands/node.rb +++ b/lib/leap_cli/commands/node.rb @@ -6,11 +6,13 @@ module LeapCli; module Commands ## ## COMMANDS ## + desc 'Node management' command :node do |c| c.desc 'Create a new configuration file for a node' c.command :add do |c| c.action do |global_options,options,args| + log 'not yet implemented' end end @@ -34,6 +36,7 @@ module LeapCli; module Commands c.desc 'Renames a node file, and all its related files' c.command :mv do |c| c.action do |global_options,options,args| + log 'not yet implemented' end end @@ -41,7 +44,7 @@ module LeapCli; module Commands c.arg_name '', :optional => false, :multiple => false c.command :rm do |c| c.action do |global_options,options,args| - remove_file!() + log 'not yet implemented' end end end -- cgit v1.2.3