Skip to content

docs: Add uv run variant for all Flash CLI commands#594

Merged
muhsinking merged 3 commits intomainfrom
promptless/flash-uv-run-login-note
Mar 24, 2026
Merged

docs: Add uv run variant for all Flash CLI commands#594
muhsinking merged 3 commits intomainfrom
promptless/flash-uv-run-login-note

Conversation

@promptless
Copy link
Contributor

@promptless promptless bot commented Mar 24, 2026

Open this suggestion in Promptless to view citations and reasoning process

Updates all Flash CLI documentation to show the uv run variant using inline code comments instead of <Tip> blocks. The format shows the standard command followed by the uv variant. Applied across CLI reference pages, overview, quickstart, apps documentation, and tutorials. Also updates the build-app tutorial to use flash login for authentication instead of manual API key export, consistent with the quickstart guide. Updates flash init to show the project name as required (removes optional brackets) and uses flash init . in the build-app tutorial for initializing in the current directory. Fixes curl example payloads to use the correct request format with {"input": {...}} wrapper for queue-based endpoints.

Trigger Events

Internal discussion about updating the Flash overview documentation to include uv package management instructions for the login command.

Promptless Research (5 files)

  • Viewed flash/overview.mdx
  • Viewed .long_term_context/doc_workflow/client_instructions.md
  • Viewed .long_term_context/style/client_style_guide.md
  • Viewed flash/cli/login.mdx
  • Viewed flash/quickstart.mdx

Agent Response

I've created a documentation suggestion to address your request.

Changes made:

  1. flash/overview.mdx - Added a tip in the Authentication section noting that users who installed Flash with uv add (without activating a virtual environment) should use uv run flash login

  2. flash/cli/login.mdx - Added the same tip to the CLI login reference page for consistency

The suggestion is ready for review: https://app.gopromptless.ai/suggestions/9390a58a-e097-4ba4-a1df-f8557a0887ff


Tip: Tag @Promptless in GitHub PR comments to guide documentation changes during code review 🐙

uv run flash login
```

This saves your API key securely and allows you to use the Flash CLI and run `@Endpoint` functions.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Citation: Requested by Mo King in Slack to add note about using uv run flash login when using uv for package management.
View source

uv run flash login
```

The command opens your default browser to the Runpod authorization page. After you approve the request, your API key is saved locally for future CLI operations.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Citation: Added to the CLI reference for consistency with the overview page.
View source

curl -X POST http://localhost:8888/gpu_worker/runsync \
-H "Content-Type: application/json" \
-d '{"message": "Hello from the GPU!"}'
-d '{"input": {"input_data": {"message": "Hello from the GPU!"}}}'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Citation: Fixed curl payload format based on client feedback. Queue-based endpoints require {"input": {...}} wrapper matching the skeleton template's input_data: dict parameter. Verified against the Local testing documentation which documents the correct request format.
View source

@muhsinking muhsinking self-requested a review March 24, 2026 17:04
@mintlify
Copy link

mintlify bot commented Mar 24, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
runpod-docs 🟢 Ready View Preview Mar 24, 2026, 5:06 PM

@promptless
Copy link
Contributor Author

promptless bot commented Mar 24, 2026

Just a reminder: If you'd like me to act on any feedback you have via Github comments, just type @Promptless in your suggestion and I'll get right on it! (I won't show up in the user dropdown, but I'll process any request that has @Promptless in the comment body.)

@muhsinking muhsinking merged commit e409d25 into main Mar 24, 2026
3 checks passed
@muhsinking muhsinking deleted the promptless/flash-uv-run-login-note branch March 24, 2026 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant