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
-
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
.tolgeerc
to configure much more options than before. Basically, all the options of all the commands can now be configured through.tolgeerc
and you can now also specify a custom path to Tolgee config (with the--config
option), 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
pull
andpush
commands you now have more options to filter only specific languages, namespaces etc.The
pull
command 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
push
command, you can now specify--remove-other-keys
, which will remove keys in the platform, which are not part of the specified files.Another
push
command option--tag-new-keys
will tag all newly created keys, similarly to thetag
command.for more info, check our latest blogost.
Beta Was this translation helpful? Give feedback.
All reactions