Class ShellExperimental
Implements
- Shell
Index
Constructors
Accessors
Methods
Accessors
credentials
- 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
cwd
- get cwd(): string
Experimental
Current working directory
Returns string
- set cwd(path: string): void
Experimental
Current working directory
Parameters
- path: string
Returns void
env
envObject
- get envObject(): { [k: string]: string }
Experimental
Environment variables as object
Returns { [k: string]: string }
id
- get id(): string
Experimental
Shell ID
Returns string
kernel
- get kernel(): Kernel
Experimental
Returns Kernel
terminal
- get terminal(): Terminal
Experimental
Returns Terminal
username
- get username(): string
Experimental
Current username
Returns string
Author
Jay Mathis code@mathis.network (https://github.com/mathiscode)
The Shell class handles the Terminal environment and interaction with the Kernel.