User Input #186
johnlindquist
announced in
Guide
User Input
#186
Replies: 2 comments 7 replies
-
Is there a way to pass in an asynchronous function in case the const token = await env("GITHUB_TOKEN", { get: doGitHubOAuthDeviceFlow({ clientId, onVerification }) })Or as an alternative, is there a way to explicitly set an |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Is there an easy way to take a multi-line input from a user at the moment? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
await arg()Launches the prompt, waits for user input.
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()Launches the prompt as a drop target.
await hotkey()Launches the prompt and waits for a key combination.
Beta Was this translation helpful? Give feedback.
All reactions