Skip to content

docs: Document --env flag for serverless create command#627

Merged
gwestersf merged 11 commits intomainfrom
promptless/serverless-create-env-flag
May 6, 2026
Merged

docs: Document --env flag for serverless create command#627
gwestersf merged 11 commits intomainfrom
promptless/serverless-create-env-flag

Conversation

@promptless
Copy link
Copy Markdown
Contributor

@promptless promptless Bot commented May 6, 2026

Open this suggestion in Promptless to view citations and reasoning process

Add documentation for the new --env flag in runpodctl serverless create that allows overriding or adding environment variables when deploying from Hub repos. Also clarifies that --type filtering for hub list/search commands is applied client-side.

Trigger Events


Tip: Sort by Shortest Review in the Dashboard to find quick wins ⚡

Execution timeout in seconds. Jobs that exceed this duration are terminated. The CLI accepts seconds but converts to milliseconds internally.
</ResponseField>

<ResponseField name="--env" type="string">
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added --env flag documentation based on PR #262 in runpod/runpodctl. The flag uses KEY=VALUE format, supports multiple values, and overrides Hub release defaults when using --hub-id.

Source: runpod/runpodctl#262


<ResponseField name="--type" type="string">
Filter by deployment type (`POD` or `SERVERLESS`).
Filter by deployment type (`POD` or `SERVERLESS`). This filter is applied client-side, so `--limit` may return fewer results than specified.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added client-side filtering note for --type flag based on PR #262 in runpod/runpodctl. The code in cmd/hub/list.go:198 and cmd/hub/search.go:274 shows the filter is applied client-side after API results are fetched.

Source: runpod/runpodctl#262

@gwestersf gwestersf self-requested a review May 6, 2026 21:01
@promptless
Copy link
Copy Markdown
Contributor Author

promptless Bot commented May 6, 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.)

@gwestersf gwestersf merged commit dcfcfb0 into main May 6, 2026
2 of 3 checks passed
@gwestersf gwestersf deleted the promptless/serverless-create-env-flag branch May 6, 2026 21:03
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