CLI 2.0 has been released #2345
marketachalupnikova
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Tolgee CLI version 2.0 brings support for various file formats, so you can import/export them effortlessly and also a new tagging command, which will help you to organize your keys in the development cycle.
Better utilization of .tolgeerc 🐭
You can now use
.tolgeercto configure much more options than before. Basically, all the options of all the commands can now be configured through.tolgeercand you can now also specify a custom path to Tolgee config (with the--configoption), so you can use multiple configs from the same folder.Support for various formats 🚀
Tolgee platform can already deal with formats different from ICU (iOS, Android, Flutter, .po, etc.), for some time. Now we are happy to bring this support also to the CLI.
Tagging keys 💣
In order to simplify the organization of keys in the platform we've added a new command
tag. This command allows you to add/remove tags to keys extracted from the code and apply additional filtersSome other new features ✨
For both
pullandpushcommands you now have more options to filter only specific languages, namespaces etc.The
pullcommand now doesn't override the whole target folder but only updates new files. You can specify--empty-dir, which will remove the folder before inserting new files.For the
pushcommand, you can now specify--remove-other-keys, which will remove keys in the platform, which are not part of the specified files.Another
pushcommand option--tag-new-keyswill tag all newly created keys, similarly to thetagcommand.for more info, check our latest blogost.
All reactions