Class: Ace::Overseer::CLI::Commands::Projects
- Inherits:
-
Support::Cli::Command
- Object
- Support::Cli::Command
- Ace::Overseer::CLI::Commands::Projects
- Includes:
- Support::Cli::Base
- Defined in:
- lib/ace/overseer/cli/commands/projects.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(client: nil) ⇒ Projects
constructor
A new instance of Projects.
Constructor Details
Instance Method Details
#call ⇒ Object
14 15 16 17 18 |
# File 'lib/ace/overseer/cli/commands/projects.rb', line 14 def call(**) puts JSON.pretty_generate(@client.call("project", "list", "--json")) rescue => error raise Ace::Support::Cli::Error.new(error.) end |