Class ShellExperimental

Jay Mathis code@mathis.network (https://github.com/mathiscode)

The Shell class handles the Terminal environment and interaction with the Kernel.

Implements
  • Shell

Constructors

Accessors

  • get credentials(): Credentials
  • Experimental

    Current user's credentials

    Returns Credentials

  • set credentials(cred: Credentials): void
  • Experimental

    Current user's credentials

    Parameters

    • cred: Credentials

    Returns void

  • get envObject(): { [k: string]: string }
  • Experimental

    Environment variables as object

    Returns { [k: string]: string }

Methods

  • Experimental

    Attach terminal to shell

    Parameters

    • terminal: Terminal

      Terminal to attach

    Returns void

  • Experimental

    Clear positional parameters

    Returns void

  • Experimental

    Set positional parameters

    Parameters

    • args: string[]

      Arguments to set

    Returns void