readme.md in web_translate_it-2.6.0 vs readme.md in web_translate_it-2.6.1
- old
+ new
@@ -1,9 +1,9 @@
# WebTranslateIt Synchronization Tool : wti
-[RubyDoc](https://rubydoc.info/github/webtranslateit/webtranslateit/master) |
-[Report a bug](https://github.com/webtranslateit/webtranslateit/issues) |
+[RubyDoc](https://rubydoc.info/github/webtranslateit/webtranslateit/master) |
+[Report a bug](https://github.com/webtranslateit/webtranslateit/issues) |
[Support](https://webtranslateit.com/support) |
[WebTranslateIt.com Homepage](https://webtranslateit.com)
wti lets you easily sync your language files with [WebTranslateIt.com](https://webtranslateit.com), a web-based tool to translation software.
@@ -30,11 +30,11 @@
$ gem install web_translate_it
Fetching: web_translate_it-2.1.3.gem (100%)
Successfully installed web_translate_it-2.1.3
1 gem installed
```
-
+
At this point you should have the `wti` executable working:
``` bash
$ wti -v
wti version 2.2.1
@@ -81,24 +81,24 @@
## Usage
Execute `wti --help` to see the usage:
Usage: wti <command> [options]+
-
+
The most commonly used wti commands are:
-
+
pull Pull target language file(s)
push Push master language file(s)
match Display matching of local files with File Manager
add Create and push a new master language file
addlocale Add a new locale to the project
server Start a synchronisation server
status Fetch and display project statistics
init Configure your project to sync
See `wti <command> --help` for more information on a specific command.
-
+
[options] are:
--config, -c <s>: Path to a translation.yml file (default: .wti)
--version, -v: Print version and exit
--help, -h: Show this message
@@ -215,10 +215,10 @@
* `before_pull`
* `after_pull`
* `before_push`
* `after_push`
-Check the [sample `.wti`](https://github.com/webtranslateit/webtranslateit/blob/master/examples/.wti#L9..L13) file for implementation.
+Check the [sample `.wti`](https://github.com/webtranslateit/webtranslateit/blob/master/examples/.wti#L16-L21) file for implementation.
## Exit codes
Since version 1.4.0 `wti` returns exit codes on failure. The exit code is `0` if the command executed successfully and `1` if the command executed but encountered at least one error. This is useful to act upon errors if you use `wti` to pull files in an automated build process.