Class: Pgai::Cli::Env
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#add ⇒ Object
7 8 9 |
# File 'lib/pgai/cli/env.rb', line 7 def add configuration.add_env(**) end |
#list ⇒ Object
18 19 20 |
# File 'lib/pgai/cli/env.rb', line 18 def list puts JSON.pretty_generate(configuration.enviroments) end |
#remove ⇒ Object
13 14 15 |
# File 'lib/pgai/cli/env.rb', line 13 def remove configuration.remove_env([:alias]) end |