Skip to content

Comments

feat: add mw app exec command#1330

Merged
martin-helmich merged 5 commits intomasterfrom
feat/app-exec-command
Sep 1, 2025
Merged

feat: add mw app exec command#1330
martin-helmich merged 5 commits intomasterfrom
feat/app-exec-command

Conversation

@martin-helmich
Copy link
Member

Summary

  • Add new mw app exec command to execute commands in app installations via SSH
  • Refactor both app and container exec commands to reduce code duplication
  • Add --quiet/-q flag to both exec commands for script-friendly output

Changes

  • New command: mw app exec - Execute commands in app installations non-interactively via SSH
  • Shared utilities: Extract prepareEnvironmentVariables function to eliminate code duplication
  • Enhanced functionality: Add --quiet/-q flag to disable informational output in both app and container exec commands
  • Code structure: Improve argument and flag handling in app exec command

The new command works similarly to mw container exec but targets app installations instead of containers, automatically changing to the app installation directory and supporting environment variables and custom working directories.

🤖 Generated with Claude Code

martin-helmich and others added 3 commits August 29, 2025 11:09
Add new command to execute commands in app installations via SSH,
similar to the existing mw container exec command.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Extract prepareEnvironmentVariables to shared utility to reduce code duplication
- Add --quiet/-q flag to both app exec and container exec commands
- Improve app exec command structure with proper flag handling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@martin-helmich martin-helmich merged commit 95d1696 into master Sep 1, 2025
11 checks passed
@martin-helmich martin-helmich deleted the feat/app-exec-command branch September 1, 2025 07:31
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