rpanel 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/rpanel/cli.rb +3 -5
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/lib/rpanel/cli.rb
CHANGED
@@ -4,7 +4,7 @@ require 'fileutils'
|
|
4
4
|
|
5
5
|
module Rpanel
|
6
6
|
class CLI
|
7
|
-
IGNORE_DIRECTORIES = ['.', '..','.localized', '.cpan', '.cpcpan', 'cpeasyapache', 'cprubybuild', 'cprubygemsbuild', 'domlogs', 'liquidweb', 'lost+found', 'fantasti', 'MySQL-install', 'virtfs']
|
7
|
+
IGNORE_DIRECTORIES = ['.', '..','deploy','aquota.user','.localized', '.cpan', '.cpcpan', 'cpeasyapache', 'cprubybuild', 'cprubygemsbuild', 'domlogs', 'liquidweb', 'lost+found', 'fantasti', 'MySQL-install', 'virtfs']
|
8
8
|
def self.execute(stdout, arguments=[])
|
9
9
|
|
10
10
|
options = {
|
@@ -41,12 +41,10 @@ module Rpanel
|
|
41
41
|
"Your cpanel account username (ex: peppyhep)") { |arg| options[:username] = arg.strip }
|
42
42
|
|
43
43
|
opts.on("-a", "--apply-all-accounts",
|
44
|
-
"
|
45
|
-
"for an application instance before it shuts down") { |arg| options[:apply_all_accounts] = true }
|
44
|
+
"Apply the selected update to permissions and ownerships to each account in the list") { |arg| options[:apply_all_accounts] = true }
|
46
45
|
|
47
46
|
opts.on("-e", "--all",
|
48
|
-
"
|
49
|
-
"for an application instance before it shuts down") {|args| options[:all] = true }
|
47
|
+
"Apply ALL updates to permissions and ownerships to each account in the list") {|args| options[:all] = true }
|
50
48
|
opts.on("-h", "--help",
|
51
49
|
"Show this help message.") { stdout.puts opts; exit }
|
52
50
|
opts.parse!(arguments)
|