class
Build::Commands::Base
- Build::Commands::Base
- Athena::Console::Command
- Reference
- Object
Direct Known Subclasses
- Build::Commands::Addons::Attach
- Build::Commands::Addons::Create
- Build::Commands::Addons::Destroy
- Build::Commands::Addons::Detach
- Build::Commands::Addons::Info
- Build::Commands::Addons::List
- Build::Commands::Addons::Plans
- Build::Commands::Addons::Services
- Build::Commands::App::Create
- Build::Commands::App::Info
- Build::Commands::App::List
- Build::Commands::App::Stacks
- Build::Commands::App::StacksSet
- Build::Commands::Buildpacks::Add
- Build::Commands::Buildpacks::Clear
- Build::Commands::Buildpacks::List
- Build::Commands::Buildpacks::Remove
- Build::Commands::Buildpacks::Set
- Build::Commands::Builds::Info
- Build::Commands::Builds::List
- Build::Commands::Config::Create
- Build::Commands::Config::Delete
- Build::Commands::Config::Info
- Build::Commands::Config::List
- Build::Commands::Deployments::Info
- Build::Commands::Deployments::List
- Build::Commands::Domains::Add
- Build::Commands::Domains::Clear
- Build::Commands::Domains::Info
- Build::Commands::Domains::List
- Build::Commands::Domains::Remove
- Build::Commands::Domains::Update
- Build::Commands::Domains::Wait
- Build::Commands::Login
- Build::Commands::Logs
- Build::Commands::Namespace::Create
- Build::Commands::Namespace::Delete
- Build::Commands::Namespace::Info
- Build::Commands::Namespace::List
- Build::Commands::OidcLogin
- Build::Commands::Pipeline::Diff
- Build::Commands::Pipeline::Info
- Build::Commands::Pipeline::List
- Build::Commands::Pipeline::Promote
- Build::Commands::Process::Delete
- Build::Commands::Process::Exec
- Build::Commands::Process::List
- Build::Commands::Process::Scale
- Build::Commands::Run
- Build::Commands::Skills
- Build::Commands::Team::Info
- Build::Commands::Team::List
- Build::Commands::Whoami
Defined in:
commands/base.crInstance Method Summary
- #api : ::Build::DefaultApi
- #buildpacks_api : ::Build::BuildpacksApi
- #default_region : String
-
#execute(input : ACON::Input::Interface, output : ACON::Output::Interface) : Athena::Console::Command::Status
Executes the command with the provided input and output, returning the status of the invocation via
ACON::Command::Status. -
#next_cursor(headers : Hash(String, Array(String) | String)) : String | Nil
Cursor from an RFC 8288 Link header's rel="next" URL, or nil on the last page.
- #print_api_error(output : ACON::Output::Interface, ex : Exception, local_server_hint : Bool = true) : Nil
- #print_api_request_failed(output : ACON::Output::Interface, ex : Exception, local_server_hint : Bool = true) : Nil
- #print_error(output : ACON::Output::Interface, message : String) : Nil
- #print_table(output : ACON::Output::Interface, headers : Tuple, rows : Array(Tuple))
-
#progress(message : String) : Nil
Transient progress line on STDERR, only when someone is watching.
- #progress_done : Nil
- #t(message_key : String | Symbol, params : Hash | NamedTuple | Nil = nil) : String
- #t(message_key : String | Symbol, **kwargs) : String
- #token : String | Nil
Instance Method Detail
def execute(input : ACON::Input::Interface, output : ACON::Output::Interface) : Athena::Console::Command::Status
#
Description copied from class Athena::Console::Command
Executes the command with the provided input and output, returning the status of the invocation via ACON::Command::Status.
This method MUST be defined and implement the business logic for the command.
def next_cursor(headers : Hash(String, Array(String) | String)) : String | Nil
#
Cursor from an RFC 8288 Link header's rel="next" URL, or nil on the last page.
def print_api_error(output : ACON::Output::Interface, ex : Exception, local_server_hint : Bool = true) : Nil
#
def print_api_request_failed(output : ACON::Output::Interface, ex : Exception, local_server_hint : Bool = true) : Nil
#
def print_table(output : ACON::Output::Interface, headers : Tuple, rows : Array(Tuple))
#
def progress(message : String) : Nil
#
Transient progress line on STDERR, only when someone is watching.
def t(message_key : String | Symbol, params : Hash | NamedTuple | Nil = nil) : String
#