Sha256: 6fbfe7a75a9a1233c738aff3f8b9a05ca9166ce7a90797c40f053db78f0ee976

Contents?: true

Size: 532 Bytes

Versions: 7

Compression:

Stored size: 532 Bytes

Contents

require 'hammer_cli_foreman/auth_source_ldap'

module HammerCLIForeman

  class AuthSource < HammerCLIForeman::Command
    resource :auth_sources
    subcommand 'ldap', HammerCLIForeman::AuthSourceLdap.desc, HammerCLIForeman::AuthSourceLdap

    class ListCommand < HammerCLIForeman::ListCommand
      desc _('List all auth sources.')

      output do
        field :id, _('Id')
        field :name, _('Name')
        field :type, _('Type of auth source')
      end

      build_options
    end

    autoload_subcommands
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hammer_cli_foreman-0.15.2 lib/hammer_cli_foreman/auth_source.rb
hammer_cli_foreman-0.15.1 lib/hammer_cli_foreman/auth_source.rb
hammer_cli_foreman-0.15.0 lib/hammer_cli_foreman/auth_source.rb
hammer_cli_foreman-0.14.0 lib/hammer_cli_foreman/auth_source.rb
hammer_cli_foreman-0.13.2 lib/hammer_cli_foreman/auth_source.rb
hammer_cli_foreman-0.13.1 lib/hammer_cli_foreman/auth_source.rb
hammer_cli_foreman-0.13.0 lib/hammer_cli_foreman/auth_source.rb