Open ahal opened 3 years ago
Hi @ahal I ran the commands citools migration --help
and citools migration file-bugs --help
and got this error
The command "migration" is not defined.
On trying citools --help
, it revealed that migration is not a part of the available commands.
Hi @chichi012, can you verify whether you are on the latest commit? I think you might be on an older revision there.
If you run
citools migration --help
you'll see the help text is all squashed into a single line. But if you runcitools migration file-bugs --help
it is formatted nicely.I suspect this has something to do with how we're setting up the subcommands in cleo: https://github.com/mozilla/mozci-tools/blob/2b66378142cbad5ed76c36c96780129282dd4628/citools/console/application.py#L72
This issue may be tricky to fix and will likely involve digging into cleo's internals. If we could suppress the help text when running
citools migration --help
(and only display the summary), that might be the best outcome here.