-
Notifications
You must be signed in to change notification settings - Fork 11
Adds .NET support in CLI #231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have any blocking things so approving to unblock. As long as you've tested it reasonably with both TS and C#. @aacebo knows this code best so he may have thoughts, but to me it looks ok
Co-authored-by: Aamir <48929123+heyitsaamir@users.noreply.github.com>
Merge branch 'kavin/dotnet-cli' of https://github.com/kavins14/spark.js into kavin/dotnet-cli
|
packages/cli/templates/csharp/echo/{{name}}.hbs/MainController.cs.hbs
Outdated
Show resolved
Hide resolved
packages/cli/templates/csharp/echo/{{name}}.hbs/MainController.cs.hbs
Outdated
Show resolved
Hide resolved
I tested this out and |
Mb... I ran the wrong command. Looking into it. |
Features includes
set-lang
command supportHow to set preferred language?
Once that is done users can simply do
And it will provision files in the preferred language. If it is not set then they will be asked to specify
typescript
orcsharp
like this:How to add configs?
Running
will detect if your project is typescript or csharp and add the correct files. The command also gracefully checks which configs are supported for that language.
In the current state just
ttk.basic
is supported for csharp, and so only that choice will be shown.