--release switch as a shortcut for -c Release
See original GitHub issueSince most projects will only ever use the Release
and Debug
configurations, I suggest creating shortcut switches to avoid typing them out in full on the console:
--release
shall be allowed everywhere -c Release
is currently allowed.
similarly, --debug
can be a shorthand way of specifying -c Debug
.
Benefits:
- Faster to type
- Completion support
- Release configuration is commonly needed
- Typo mistakes are easy to make, especially since casing differences can lead to confusing build errors on linux (
-c Release
vs-c release
).
Does this seem reasonable? Any feedback?
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (11 by maintainers)
Top Results From Across the Web
Keyboard shortcuts - Visual Studio (Windows)
Call stack, Ctrl+Alt+C, Debug.CallStack ; Delete all breakpoints, Ctrl+Shift+F9, Debug.DeleteAllBreakpoints ; Launch, Alt+F2, Debug.DiagnosticsHub ...
Read more >Mac keyboard shortcuts
For example, to use Command-C (copy), press and hold the Command key, then the C key, then release both keys. Mac menus and...
Read more >Windows Basics: Keyboard Shortcuts in Windows
Using shortcuts · Ctrl+X: Cut the selected text. Ctrl+C: Copy the selected text. Ctrl+V · Ctrl+Alt+Delete: Force an unresponsive or frozen program to...
Read more >Default keyboard shortcuts for Illustrator
Find out how to use keyboard shortcuts to quickly navigate Adobe Illustrator.
Read more >Keyboard Shortcuts
1. When Input-releasing Shortcut is not ticked, pressing Ctrl + Alt will allow you to switch app on the remote computer. · 2....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Note that
-c
does have completion support: if I typedotnet publish -c R<tab>
, it completes todotnet publish -c RELEASE
.Though it doesn’t understand custom configurations,
DEBUG
andRELEASE
are hardcoded values.PR is out to complete
-c
based on the project file: https://github.com/dotnet/cli/pull/9788