CodeIgniter Forums
spark --help option to show help - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29)
+--- Thread: spark --help option to show help (/showthread.php?tid=81902)



spark --help option to show help - kenjis - 05-17-2022

Now we need type to show help:
Code:
php spark help env

But it would be nice:
Code:
php spark env --help

After seeing the help, we can just remove `--help` at the end and run the command.
But now we need to remove `help` in the middle of the command.


RE: spark --help option to show help - paulbalandan - 05-18-2022

This would be nice. `--help` is more intuitive for me.


RE: spark --help option to show help - datamweb - 05-18-2022

(05-17-2022, 06:34 PM)kenjis Wrote:
Code:
php spark help env
I agree, it was weird for me too.
When the other options come after the command, why not follow the same pattern for this!
This is misleading.


RE: spark --help option to show help - InsiteFX - 05-18-2022

Most cmd cli code uses the ? for help but that does look better to use.


RE: spark --help option to show help - kenjis - 01-21-2023

See https://codeigniter4.github.io/userguide/changelogs/v4.3.0.html#commands


RE: spark --help option to show help - InsiteFX - 01-22-2023

@kenjis, Thank you.