cli icon indicating copy to clipboard operation
cli copied to clipboard

DevContainer commands now default the workspace folder to the current directory if not specified.

Open Mathiyarasy opened this issue 2 months ago • 0 comments

Fixes: https://github.com/devcontainers/cli/issues/1069

Issue summary:

This PR enhances the user experience by automatically defaulting the [--workspace-folder] parameter to the current working directory when it is not explicitly specified. The following DevContainer CLI commands will now use the current working directory as the default workspace folder if [--workspace-folder] is omitted:

  • devcontainer build
  • devcontainer up
  • devcontainer exec
  • devcontainer templates apply
  • devcontainer features resolve-dependencies
  • devcontainer upgrade
  • devcontainer outdated
  • devcontainer read-configuration
  • devcontainer run-user-commands

Test cases is implemented for all these commands

Mathiyarasy avatar Nov 12 '25 12:11 Mathiyarasy