Sha256: 36e68cf4e4b2749a0b991407922d78670facfdb581fdf9c2d57e203ac6c4fb64

Contents?: true

Size: 664 Bytes

Versions: 10

Compression:

Stored size: 664 Bytes

Contents

class Posgra::CLI::App < Thor
  class_option :host, :default => 'localhost', :aliases => '-h'
  class_option :port, :type => :numeric, :default => 5432, :aliases => '-p'
  class_option :dbname, :default => 'postgres', :aliases => '-d'
  class_option :user, :aliases => '-U'
  class_option :password, :aliases => '-P'
  class_option :'account-output', :default => 'account.csv'
  class_option :color, :type => :boolean, :default => true
  class_option :debug, :type => :boolean, :default => false

  desc 'role SUBCOMMAND', 'Manage roles'
  subcommand :role, Posgra::CLI::Role

  desc 'grant SUBCOMMAND', 'Manage grants'
  subcommand :grant, Posgra::CLI::Grant
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
posgra-0.1.9 lib/posgra/cli/app.rb
posgra-0.1.8 lib/posgra/cli/app.rb
posgra-0.1.7 lib/posgra/cli/app.rb
posgra-0.1.6 lib/posgra/cli/app.rb
posgra-0.1.5 lib/posgra/cli/app.rb
posgra-0.1.4 lib/posgra/cli/app.rb
posgra-0.1.3 lib/posgra/cli/app.rb
posgra-0.1.2 lib/posgra/cli/app.rb
posgra-0.1.1 lib/posgra/cli/app.rb
posgra-0.1.0 lib/posgra/cli/app.rb