Skip to content

Latest commit

 

History

History
80 lines (64 loc) · 1.42 KB

File metadata and controls

80 lines (64 loc) · 1.42 KB

AppPackager

AppPackager is a custom scripting tool designed to optimize building app packages

Scripting

Note

Currently, all commands are executed in Command Prompt (cmd.exe) non-window shell

Executing commands

ensure Executes the provided command. The result must match a sequence.

[ensure("<match>")] <command>

Tip

You can prepend an exclamation mark before the text sequence to invert the check.

[ensure(!"<match>")] <command>

any Executes the provided command. The application continues regardless of whether an error occurred or not.

[any] <command>

silent Executes the provided command. The application does not print any notifications.

[silent] <command>

Assigning variables

ask Prompts the user and writes the input to a given variable.

[ask("<variableName>")] <prompt>

assign Assigns a value to a given variable.

[assign("<variableName>")] <value>

Messages

info Writes an info message.

[info] <text>

error Writes an error message.

[error] <text>

success Writes a success message.

[success] <text>

Other actions

exit Exits and closes the application.

[exit]

noexit Waits for a key to be pressed before exitting the application.

[noexit]