andres-montanez / Magallanes

The PHP Deployment Tool
https://magephp.com
MIT License
691 stars 169 forks source link

Allow user to list built-in/custom tasks #347

Closed duraki closed 2 years ago

duraki commented 7 years ago

This could be a really great option for debugging the deployment procedure, and it's usage would be fairly simple. We would need a command for example mage:tasks:builtin to list all built-in tasks possibly with description and usage, and mage:tasks:custom to list all custom tasks.

We could further extend the task listing by allowing dummy tests to be made directly instead of writing unit tests specifically.

A lot of times while writing custom tasks, I have to test deployment on my local environment (when not using dry-run), while instead, I could run a task and magically get the output if the task passed or failed because of syntax error or similar.

andres-montanez commented 7 years ago

Sounds cool!

andres-montanez commented 2 years ago

We'll rely on the documnetation page for the list of built in tasks. For custom task we'll rely on the developer keen eyes.