Adopt some options as subcommands of wsl cli like git command interface.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
## Current Solution
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
As a powerful command, the wsl can handle many tasks, like list the information of wsl distributions, install a new Linux distribution, import and export distributions.
This primary (I think) actions are just like the options `--verbose`, `--user`, `--online`. The logical and use experience is not so nice. It makes the users hard to remember the functionality of the wsl cli.
## The solution you suggest
Adopt some important options (currently wsl strategy) like `--install`, `--list`, `--terminate`, `--mount`, `--import`, `--export` as the subcommands of wsl cli like `init`, `status`, `fetch`, `push` subcommands in `git`.
I think these will make the behavior of wsl more intuitive.
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
No files, entry points, or tests are named. Start by locating the WSL CLI argument handling and reviewing how --install, --list, --terminate, --mount, --import, and --export currently work; the work is done when the agreed options are available as subcommands without losing existing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100