forked from dnnsoftware/Dnn.AdminExperience.Extensions
-
Notifications
You must be signed in to change notification settings - Fork 2
General Commands
CBPSC edited this page Feb 16, 2017
·
6 revisions
Retrieves the list of available commands
Shortcut for clear-history
Shortcut for clear-screen
Empties the list of Prompt commands you have previously executed in your current session
Clears the Prompt console window, giving you a blank screen
Configures the Prompt console
Parameter
--height
- height:
- Type: CSS Unit Expression
- Required: No
- Description: Specifies the height of the Prompt console in CSS units (200px, 50%, 30pt, etc.). If you only pass one argument to the config command, Prompt will assume that argument is the height. In that case you do not need to explicitly use --height
Example usage: config 50%
Navigates the browser to the specified page
Parameter
--id
- id
- Type: Integer
- Required: Yes
- Description: Specify the Page (Tab) ID of the page to which you want to navigate. Explicit use of the --id flag is not needed. Simply pass in the Page ID as the first argument after the command name
Example usage: goto 74
Causes the browser to reload the page
Sets the DNN view mode. For example: Edit mode vs. Layout mode.
Parameter
--mode
- mode
- Type: DNN View Mode
- Required: Yes
- Description: One of three view modes: edit, layout, or view. You do not need to specify the --mode flag explicitly. Simply type one of the view mode values after the command.
Example usage: set-mode view