new Shell()
An interactive session between a consumer and a shell.
- Source:
Methods
close()
Close the shell.
- Source:
createJob(line) → {Job}
See Shell#createJob
Parameters:
| Name | Type | Description |
|---|---|---|
line |
string |
- Source:
Returns:
- Type
- Job
jobController() → {JobController}
- Source:
Returns:
the shell's job controller
- Type
- JobController
session() → {Session}
- Source:
Returns:
the current shell session
- Type
- Session
setPrompt(prompt)
Set a new prompt in this session.
Parameters:
| Name | Type | Description |
|---|---|---|
prompt |
function | the new prompt will be calculated when it's needed. |
- Source: