From ed604349a4035eed2bccefa9aa030d93ad4f6b58 Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 18 Aug 2015 11:58:05 -0700 Subject: moved commands to leap_platform --- lib/leap_cli/commands/clean.rb | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 lib/leap_cli/commands/clean.rb (limited to 'lib/leap_cli/commands/clean.rb') diff --git a/lib/leap_cli/commands/clean.rb b/lib/leap_cli/commands/clean.rb deleted file mode 100644 index a9afff5..0000000 --- a/lib/leap_cli/commands/clean.rb +++ /dev/null @@ -1,16 +0,0 @@ -module LeapCli - module Commands - - desc 'Removes all files generated with the "compile" command.' - command :clean do |c| - c.action do |global_options,options,args| - Dir.glob(path([:hiera, '*'])).each do |file| - remove_file! file - end - remove_file! path(:authorized_keys) - remove_file! path(:known_hosts) - end - end - - end -end \ No newline at end of file -- cgit v1.2.3