Class: A2::Command::IAM
- Inherits:
-
CmdParse::Command
- Object
- CmdParse::Command
- A2::Command::IAM
- Defined in:
- lib/a2/commands/iam.rb
Instance Method Summary collapse
-
#initialize ⇒ IAM
constructor
A new instance of IAM.
Constructor Details
#initialize ⇒ IAM
Returns a new instance of IAM.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/a2/commands/iam.rb', line 7 def initialize super('iam') short_desc('Identity access management commands') add_command(A2::Subcommand::User::ListAll.new) add_command(A2::Subcommand::User::Create.new) add_command(A2::Subcommand::User::Get.new) add_command(A2::Subcommand::User::Update.new) add_command(A2::Subcommand::User::Delete.new) add_command(A2::Subcommand::Team::ListAll.new) add_command(A2::Subcommand::Team::Create.new) add_command(A2::Subcommand::Team::Get.new) add_command(A2::Subcommand::Team::Update.new) add_command(A2::Subcommand::Team::Delete.new) add_command(A2::Subcommand::Team::ListAllMembership.new) add_command(A2::Subcommand::Team::AddMembership.new) add_command(A2::Subcommand::Team::GetTeamsByMembership.new) add_command(A2::Subcommand::Team::RemoveMembership.new) end |