JwstCli.Repl.Executor (JwstCli v0.1.1)
Documentation for JwstCli
.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
GenServer.handle_call/3 callback for the following signals calls
GenServer.init/1
Starts the repl loop to process commands via an interactive and stateful session
Invokes a single command direclty from the commandline
Link to this section Functions
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
handle_call(msg, from, state)
GenServer.handle_call/3 callback for the following signals calls:
- :execute - Process Command
Link to this function
init(state)
GenServer.init/1
Link to this function
start(api_key)
Starts the repl loop to process commands via an interactive and stateful session
examples
Examples
iex> JwstCli.Repl.Executor.start("api-key")
Link to this function
start(atom, api_key, command)
Invokes a single command direclty from the commandline
examples
Examples
iex> JwstCli.Repl.Executor.start(:single, "api_key", "help")
Link to this function