cli
cli copied to clipboard
DevContainer commands now default the workspace folder to the current directory if not specified.
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