Class: Gzr::Commands::Permission
- Inherits:
-
SubCommandBase
show all
- Defined in:
- lib/gzr/commands/permission.rb,
lib/gzr/commands/permission/ls.rb,
lib/gzr/commands/permission/set.rb,
lib/gzr/commands/permission/tree.rb,
lib/gzr/commands/permission/set/ls.rb,
lib/gzr/commands/permission/set/rm.rb,
lib/gzr/commands/permission/set/cat.rb,
lib/gzr/commands/permission/set/import.rb
Defined Under Namespace
Classes: Ls, Set, Tree
Instance Method Summary
collapse
banner, subcommand_prefix
Instance Method Details
#ls ⇒ Object
42
43
44
45
46
47
48
49
|
# File 'lib/gzr/commands/permission.rb', line 42
def ls(*)
if options[:help]
invoke :help, ['ls']
else
require_relative 'permission/ls'
Gzr::Commands::Permission::Ls.new(options).execute
end
end
|
#tree ⇒ Object
54
55
56
57
58
59
60
61
|
# File 'lib/gzr/commands/permission.rb', line 54
def tree(*)
if options[:help]
invoke :help, ['tree']
else
require_relative 'permission/tree'
Gzr::Commands::Permission::Tree.new(options).execute
end
end
|