Relevant area(s)
WinGet CLI
Description of the new feature / enhancement
Forcing users to use -- to introduce a switch like --force introduces friction, especially where users come from older Windows CLI tools where the standard introduction is a slash. I'd like the ability to use either a slash or double dash to introduce a switch
Proposed technical implementation details
Enhance the argument parser to treat a slash the same as a double dash for argument parsing. It would be nice to also support slash instead of single dash for aliases
Relevant area(s)
WinGet CLI
Description of the new feature / enhancement
Forcing users to use
--to introduce a switch like--forceintroduces friction, especially where users come from older Windows CLI tools where the standard introduction is a slash. I'd like the ability to use either a slash or double dash to introduce a switchProposed technical implementation details
Enhance the argument parser to treat a slash the same as a double dash for argument parsing. It would be nice to also support slash instead of single dash for aliases