-
Notifications
You must be signed in to change notification settings - Fork 36
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
Create a "dotnet new" project template for mockaco files #64
Comments
@natenho you can create a mockaco template, publish to nuget.org and use dotnet new mockaco-template |
@tkrafael The dotnet tool already exists, you can install it by running https://www.nuget.org/packages/Mockaco/ It uses a random port by default, but you can pass any .net core compatible arguments, like the examples bellow: mockaco --urls "http://localhost:5000" This issue was created to include a "new" command to allow fast mock creation in a given folder. |
@tkrafael I've just read your suggestion again and now I see!! You were referring to project templates https://docs.microsoft.com/en-us/dotnet/core/tools/custom-templates That's actually an awesome idea. I'll change the issue to do that. Thank you! |
Is your feature request related to a problem? Please describe.
It would be useful to provide a command line that help creating a new mock file, specially when using as a dotnet tool, but it can also be useful in other cases.
Describe the solution you'd like
It could also have some other templates like:
Describe alternatives you've considered
$ mockaco new hello --method GET --route /somepath/hello
The text was updated successfully, but these errors were encountered: