Skip to content
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

Help text for citools migration --help is not formatted properly #8

Open
ahal opened this issue Sep 29, 2021 · 2 comments
Open

Help text for citools migration --help is not formatted properly #8

ahal opened this issue Sep 29, 2021 · 2 comments

Comments

@ahal
Copy link
Member

ahal commented Sep 29, 2021

If you run citools migration --help you'll see the help text is all squashed into a single line. But if you run citools 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:

return self.call("help", self._config.name)

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.

@chichi012
Copy link
Collaborator

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.
Screenshot 2021-11-17 at 9 22 06 PM

@ahal
Copy link
Member Author

ahal commented Nov 17, 2021

Hi @chichi012, can you verify whether you are on the latest commit? I think you might be on an older revision there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants