2.1
New Features
Machine Translation Commands: Added mt detect and mt translate commands for machine translation capabilities.
Enhanced Configuration Management: Implemented value resolving hierarchy for better configuration control:
- Flag values take highest priority
- Config file values override environment variables
- Environment variables override default values
- Default values serve as fallback
Other Improvements
- Updated SDK: Upgraded to the latest version of Smartling/api-sdk-go featuring a new project layout and updated MT endpoints
- Dynamic Output: Implemented output mode (dynamic/static) based on flag values for improved user experience
Bug Fixes
- Fixed an issue with the
initcommand
Breaking Changes
- Directory Flag Change: Global flag
-d, --directorywas replaced with--operation-directory
Migration Guide
Update any existing scripts or workflows that use the -d or --directory flag:
Before:
smartling-cli -d /path/to/project [command]After:
smartling-cli --operation-directory /path/to/project [command]