import * as ayonliJsext from "https://deno.land/x/ayonli_jsext@v0.9.72/esm/cli.js";
Variables
v args | The command-line arguments passed to the program. |
Whether the standard IO is a text terminal. | |
Functions
Returns the width of a single character. | |
f edit | Opens the given file in a text editor. |
Returns the current size of the application window. | |
Returns | |
Checks if the program is running in Windows Subsystem for Linux. | |
Requests the standard input to be used only by the given task until it is completed. | |
Moves the cursor to the left base on the width of the given string. | |
Moves the cursor to the right base on the width of the given string. | |
Parses the given CLI arguments into an object. | |
Executes the script inside PowerShell as if they were typed at the PowerShell command prompt. | |
Quotes a string to be used as a single argument to a shell command. | |
Reads a chunk of data from the standard input. This could be a single key stroke, or a multi-byte sequence for input from an IME. | |
f run | Executes a command in the terminal and returns the exit code and outputs. |
Returns the width of a string. | |
f sudo | Executes a command with elevated privileges using |
Returns the path of the given command if it exists in the system,
otherwise returns | |
Writes a chunk of data to the standard output. | |
Writes a chunk of data to the standard output synchronously. |