Skip to content

feat: able to specify the context inline on a command#1

Merged
Prashidha0O1 merged 1 commit intomainfrom
Prashidha0O1-patch-1
Mar 15, 2025
Merged

feat: able to specify the context inline on a command#1
Prashidha0O1 merged 1 commit intomainfrom
Prashidha0O1-patch-1

Conversation

@Prashidha0O1
Copy link
Owner

Add ability to specify context inline on commands

This PR addresses issue Qovery#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
  • 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

This eliminates the need to go through interactive menu selections when the context is already known.

@Prashidha0O1 Prashidha0O1 merged commit a97390e into main Mar 15, 2025
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