Skip to content

feat(cmd): add minor CLI flags - #217

Merged
skevetter merged 3 commits into
mainfrom
skevetter/devsy-047-minor-flags
May 5, 2026
Merged

feat(cmd): add minor CLI flags#217
skevetter merged 3 commits into
mainfrom
skevetter/devsy-047-minor-flags

Conversation

@skevetter

Copy link
Copy Markdown
Contributor

Summary

Adds 15 missing CLI flags across the up, build, exec, and run-user-commands commands to reach devcontainer CLI parity:

  • up: --skip-post-create, --skip-post-start, --skip-post-attach, --container-user, --remote-user
  • build: --no-cache, --image-name, --no-build
  • exec: --container-data-folder, --skip-post-create
  • run-user-commands: --skip-post-create, --skip-post-start, --skip-post-attach, --skip-on-create, --skip-update-content

Skip flags are wired through the lifecycle hook execution pipeline so skipped phases are logged and excluded. Container-user and remote-user override the devcontainer.json values when specified. No-cache passes through to docker buildx. Image-name overrides the computed image tag. No-build prevents image building entirely.

@netlify

netlifyBot commented May 4, 2026

Copy link
Copy Markdown

Deploy Preview for devsydev canceled.

NameLink
🔨 Latest commit2378063
🔍 Latest deploy loghttps://app.netlify.com/projects/devsydev/deploys/69f94c97dd4b630009778a9b

@coderabbitai

coderabbitaiBot commented May 4, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@skevetter has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 56 minutes and 19 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 313b99d9-cc8b-4bde-9f66-8597d0777a4a

📥 Commits

Reviewing files that changed from the base of the PR and between c9e438d and 2378063.

📒 Files selected for processing (19)
  • cmd/agent/container/deferred_hooks.go
  • cmd/agent/container/setup.go
  • cmd/agent/workspace/build.go
  • cmd/build.go
  • cmd/build_test.go
  • cmd/exec.go
  • cmd/exec_test.go
  • cmd/minor_flags_test.go
  • cmd/runusercommands.go
  • cmd/runusercommands_test.go
  • cmd/up.go
  • cmd/up_test.go
  • pkg/devcontainer/build/options.go
  • pkg/devcontainer/setup.go
  • pkg/devcontainer/setup/lifecyclehooks.go
  • pkg/devcontainer/setup/lifecyclehooks_test.go
  • pkg/devcontainer/setup/setup.go
  • pkg/driver/docker/build.go
  • pkg/provider/workspace.go

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@skevetterskevetter changed the title feat(cmd): add minor CLI flags (DEVSY-047)feat(cmd): add minor CLI flagsMay 4, 2026
@skevetter
skevetterforce-pushed the skevetter/devsy-047-minor-flags branch from c362d42 to ec562f1CompareMay 4, 2026 21:26
Add 15 missing CLI flags that align with devcontainer CLI parity:
- up: --skip-post-create, --skip-post-start, --skip-post-attach,
--container-user, --remote-user
- build: --no-cache, --image-name, --no-build
- exec: --container-data-folder, --skip-post-create
- run-user-commands: --skip-post-create, --skip-post-start,
--skip-post-attach, --skip-on-create, --skip-update-content
Wire skip flags through lifecycle hook execution so skipped phases
are logged and excluded from the hook pipeline.
@skevetter
skevetterforce-pushed the skevetter/devsy-047-minor-flags branch from e4233fe to 2378063CompareMay 5, 2026 01:49
@skevetter
skevetter marked this pull request as ready for review May 5, 2026 01:52
@skevetter
skevetter enabled auto-merge (squash) May 5, 2026 01:52
@skevetter
skevetter merged commit 7d056fb into mainMay 5, 2026
139 of 142 checks passed
@skevetter
skevetter deleted the skevetter/devsy-047-minor-flags branch May 5, 2026 03:40
This was referenced May 16, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@skevetter