Replies: 1 comment 1 reply
-
@MadL1me yes, it is possible by adding The syntax is below: {
"$schema": "http://json.schemastore.org/dotnetcli.host",
"symbolInfo": {
"SymbolNameFromTemplateJson": {
"longName": "desired-long-option-name",
"shortName": "on"
},
},
}
To remove short name, set it to empty string. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I'm curious, is there an option to set concrete name for cli param associated with an symbol?
For example, if I have symbol "SomeTestSymbol", then in
dotnet new
it will appear as "-S|SomeTestSymbol". Can I for example change "-S" shortcut to smth else (for example lowercase it: "-s" or remove at all)? Can I change "--SomeTestSymbol" to mine defined value, for example "--someTest"?If this feature is not implemented, I would be happy to contribute with issue and pull request
Beta Was this translation helpful? Give feedback.
All reactions