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

Make -c optional #84

Closed
maximilien opened this issue Mar 31, 2023 · 1 comment
Closed

Make -c optional #84

maximilien opened this issue Mar 31, 2023 · 1 comment
Assignees
Milestone

Comments

@maximilien
Copy link
Owner

Currently for each i18n4go command the user needs to use -c before the command name. With COBRA support we can remove this, so for instance:

$i18n4go -c extract-strings -f i18n4go/i18n4go.go -v

should now be

$i18n4go extract-strings -f i18n4go/i18n4go.go -v

Also, since we will be deprecating -c let's add a warning when user still have -c like:

WARNING: the -c before <command-name> is now DEPRECATED and no longer needed. Future versions of i18n4go will remove -c alltogether

or something similar.

@maximilien
Copy link
Owner Author

Fixed with #89

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

No branches or pull requests

2 participants