class

CB::Open

Inherits CB::APIAction / CB::Action / Reference / Object

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.

Constructors

new(client, input = STDIN, output = STDOUT)
Source

Instance methods

open

Make the open command stub-able for testing purposes.

Source
open=(open : Proc(Array(String), Process::Env, NoReturn | Nil))

Make the open command stub-able for testing purposes.

Source