Seely.API (Seely v0.1.0) View Source
An importable wrapper for functions in Seely.Main
. You can import this module
for convenience.
Example
import Seely.API
{:ok, session} = start_session("Session one")
execute(session, "echo hello world"
Link to this section Summary
Functions
Execute a Stream
of commands in session pid
Run the cli loop
Execute a command-string in a given session
Execute function
in controller
with params
Get the pid of the main process
Find a session's pid by either it's pid (usefull in pipes) or it's name.
Get the name of a session
Get the list of running sessions
Start a named session
Stop all sessions
Link to this section Functions
Execute a Stream
of commands in session pid
Run the cli loop
Execute a command-string in a given session
Execute function
in controller
with params
Get the pid of the main process
Find a session's pid by either it's pid (usefull in pipes) or it's name.
Get the name of a session
Get the list of running sessions
Start a named session
Stop all sessions