Skip to content

Conversation

@Prashidha0O1
Copy link

@Prashidha0O1 Prashidha0O1 commented Mar 15, 2025

Description

This PR addresses issue #158 by implementing the ability to specify context inline on shell commands, which makes it faster and more convenient for users who manage multiple instances/environments.

Changes

  • Added a new --context flag to the shell command that accepts a string in the format organization:project:environment:service
  • Implemented parsing logic to extract the individual components from the context string
  • Added the necessary conditional logic in the command execution flow to prioritize the inline context flag
  • Updated the command examples to include the new usage pattern

Usage:

Users can now run commands like:

qovery shell --context webapp:staging:web
qovery shell -c bash --context webapp:production:worker

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