class CB::Completion

Defined in:

cb/completion.cr

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(client : Client | Nil, commandline : String) #

[View source]

Class Method Detail

def self.parse(client, commandline) #

[View source]

Macro Detail

macro suggest_bool #

[View source]
macro suggest_none #

[View source]

Instance Method Detail

def _parse : Array(String) #

[View source]
def args : Array(String) #

[View source]
def backup #

[View source]
def backup_token #

[View source]
def client : Client #

[View source]
def cluster_suggestions #

[View source]
def commandline : String #

[View source]
def config_param #

[View source]
def config_param_get #

[View source]
def config_param_list_supported #

[View source]
def config_param_reset #

[View source]
def config_param_set #

[View source]
def create #

[View source]
def create_fork_suggest #

[View source]
def create_replica_suggest #

[View source]
def create_standalone_suggest #

[View source]
def destroy_cluster #

[View source]
def detach #

[View source]
def find_arg_value(arg1 : String, arg2 : String | Nil = nil) : String | Nil #

[View source]
def find_full_flags #

only return the long version, but search for long and short


[View source]
def firewall #

[View source]
def firewall_rule_suggestions(network_id : String | Nil) #

[View source]
def firewall_rules(network_id) #

[View source]
def full_flags : Set(Symbol) #

[View source]
def has_full_flag?(arg1 : String, arg2 : String | Nil = nil) : Bool #

[View source]
def has_full_flag?(*names : Symbol) : Bool #

[View source]
def last_arg?(*args) : Bool #

[View source]
def list_clusters #

[View source]
def logdest #

[View source]
def logdest_add #

[View source]
def logdest_destroy #

[View source]
def logdest_list #

[View source]
def maintenance #

[View source]
def maintenance_create : Array(String) #

[View source]
def maintenance_update : Array(String) #

[View source]
def maintenance_window_update : Array(String) #

[View source]
def network #

[View source]
def network_add_firewall_rule #

[View source]
def network_create_peering #

[View source]
def network_delete_peering #

[View source]
def network_get_peering #

[View source]
def network_info #

[View source]
def network_list #

[View source]
def network_list_firewall_rules #

[View source]
def network_list_peerings #

[View source]
def network_remove_firewall_rule #

[View source]
def network_suggestions #

[View source]
def network_update_firewall_rule #

[View source]
def parse : Array(String) #

[View source]
def peering_suggestions(network_id : String | Nil) #

[View source]
def plan(platform) #

[View source]
def psql #

[View source]
def region(platform) #

[View source]
def restart #

[View source]
def role #

[View source]
def role_create #

[View source]
def role_destroy #

[View source]
def role_list #

[View source]
def role_update #

[View source]
def scope #

[View source]
def single_cluster_suggestion #

[View source]
def tailscale #

[View source]
def tailscale_connect : Array(String) #

[View source]
def tailscale_disconnect : Array(String) #

[View source]
def team #

[View source]
def team_create #

[View source]
def team_destroy #

[View source]
def team_info #

[View source]
def team_list #

[View source]
def team_member #

[View source]
def team_member_add #

[View source]
def team_member_info #

[View source]
def team_member_list #

[View source]
def team_member_remove #

[View source]
def team_member_update #

[View source]
def team_suggestions #

[View source]
def team_update #

[View source]
def teams #

[View source]
def token : Array(String) #

[View source]
def top_level #

[View source]
def upgrade #

[View source]
def upgrade_cancel #

[View source]
def upgrade_start #

[View source]
def upgrade_status #

[View source]
def upgrade_update #

[View source]
def uri #

[View source]