User Input

await arg()

let input = await arg()

Launches the prompt, waits for user input.

await env("SOME_TOKEN")

let SOME_TOKEN = await env("SOME_TOKEN")

Launches the prompt if var isn't found in .env. Waits for user input. Automatically stores var in .env.

await drop()

let dropData = await drop()

Launches the prompt as a drop target.

await hotkey()

let keyInfo = await hotkey()

Launches the prompt and waits for a key combination.

Discuss Post