ASP NET CORE MVC – CLI Command like PHP Symfony

I have a question. Does ASP NET CORE support creating custom CLI commands? Like for example Command class from PHP Symfony.

https://symfony.com/doc/current/console.html

In Symfony you first create your own class that inherits from SymfonyComponentConsoleCommandCommand and then you can call created command like this:

php bin/console TestCommand

This is super useful for many cases – for example, business needs quick scripting.

Does ASP NET CORE MVC support this or not?

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *