Add default version info flag/parameter for wsl command
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
Background:
Currently you can configure the default wsl version with the wsl command.
But unless you know by heart what you did on your machine there is no possibility to know what version currently is the default.
Feature request:
I would like to have a flag/parameter I can provide to the wsl command that prints out the default version.
This is especially very helpful if you use automation, dotfiles, puppet, you-name-it to configure your workstation automatically.
Ps: I wasn't able to see if this was already requested because searching for version and flag or parameter just aren't the best search keywords 😅.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by locating the wsl command's existing default-version configuration and command-line parsing; define a parameter that reports the configured default for automation, then add coverage for its output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100