Skip to content

Debug Console Commands

Paul Bunyan edited this page Jun 14, 2014 · 2 revisions

For previous versions, see Debug Console Commands (old versions).

This is a list of all of the debug console commands.

Version: v0.2 "Firmament"

app

Provides control over the application running iash.

Usage

app [ARGUMENT]

Arguments

  • quit, exit: Exits the program cleanly.
  • kill, crash: Exits the program as if it crashed.

cnf

Displays a command not found message.

clear

Clears things. By default, it clears theQuits the program as if an error occurred command buffer.

Usage

clear (ARGUMENT)

Arguments

  • buf or buffer: Clears the command buffer.
  • screen: Clears the screen.

disp

Displays various variables within iash.

Usage

disp [ARGUMENT]

Arguments

  • cmd: The last entered command.
  • ops: All of the options passed by the last entered command.
  • name: The name of the application.
  • appInPrompt: Whether the app name is currently being used in the command prompt.

env

Manages environment variables. When given no arguments, it lists the environment.

Usage

env <COMMAND> (-rd) (NAME) (VALUE)

Commands

  • save (FILE): Saves the environment to file. If no file is given, it saves to $IASH_CONFIG_PATH/iashenv.
  • load (FILE): Loads the environment from file. If no file is given, is loads from $IASH_CONFIG_PATH/iashenv.

Arguments

  • (NAME) (VALUE): If VALUE is not given, it displays the variable NAME. If VALUE is given, it sets NAME to VALUE.

Options

  • -r [NAME1] (NAME2)...: Removes all given environment variables, if they exist. Variables with the IASH_ prefix will not be removed.
  • -d [NAME1] (NAME2)...: Displays all given environment variables, if they exist.

set

Changes iash's internal configuration.

Usage

set COMMAND ARGUMENTS

Commands

  • name [NAME]: Renames the application to NAME.
  • appInPrompt <on/off>: Display the app in the command prompt or not. Defaults to on.

Clone this wiki locally