Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Shell

An interactive session between a consumer and a shell.

Hierarchy

  • Shell

Index

Methods

close

  • close(): void
  • Close the shell.

    Returns void

createJob

  • Create a job, the created job should then be executed with the {@link Job#run} method.

    Parameters

    Returns Job

  • See {@link Shell#createJob}

    Parameters

    • line: string

    Returns Job

jobController

  • Returns JobController

session

  • Returns Session

setPrompt

  • setPrompt(prompt: (arg: Session) => string): void
  • Set a new prompt in this session.

    Parameters

    Returns void

Generated using TypeDoc