class CB::Open
- CB::Open
- CB::APIAction
- CB::Action
- Reference
- Object
Overview
Uses the API key bundled into cb to open a Dashboard session for them by creating a session and opening a browser via appropriate system command.
Defined in:
cb/open.crConstructors
Instance Method Summary
-
#open : Proc(Array(String), Process::Env, NoReturn | Nil)
Make the open command stub-able for testing purposes.
-
#open=(open : Proc(Array(String), Process::Env, NoReturn | Nil))
Make the open command stub-able for testing purposes.
- #run
Instance methods inherited from class CB::APIAction
client : Client
client,
client=(client : Client)
client=,
run
run
Constructor methods inherited from class CB::APIAction
new(client : CB::Client, input = STDIN, output = STDOUT)
new
Instance methods inherited from class CB::Action
call
call,
input : IO
input,
input=(input : IO)
input=,
output : IO
output,
output=(output : IO)
output=
Constructor methods inherited from class CB::Action
new(input : IO = STDIN, output : IO = STDOUT)
new
Constructor Detail
Instance Method Detail
def open : Proc(Array(String), Process::Env, NoReturn | Nil)
#
Make the open command stub-able for testing purposes.
def open=(open : Proc(Array(String), Process::Env, NoReturn | Nil))
#
Make the open command stub-able for testing purposes.