-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ Edit ] edited the prompt logger to confirm, corrected typo
- Loading branch information
Showing
10 changed files
with
38 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1 @@ | ||
## langsync | ||
|
||
![coverage][coverage_badge] | ||
[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link] | ||
[![License: MIT][license_badge]][license_link] | ||
|
||
Generated by the [Very Good CLI][very_good_cli_link] 🤖 | ||
|
||
A Very Good Project created by Very Good CLI.. | ||
|
||
--- | ||
|
||
## Getting Started 🚀 | ||
|
||
If the CLI application is available on [pub](https://pub.dev), activate globally via: | ||
|
||
```sh | ||
dart pub global activate langsync | ||
``` | ||
|
||
Or locally via: | ||
|
||
```sh | ||
dart pub global activate --source=path <path to this package> | ||
``` | ||
|
||
## Usage | ||
|
||
```sh | ||
# Sample command | ||
$ langsync sample | ||
|
||
# Sample command option | ||
$ langsync sample --cyan | ||
|
||
# Show CLI version | ||
$ langsync --version | ||
|
||
# Show usage help | ||
$ langsync --help | ||
``` | ||
|
||
## Running Tests with coverage 🧪 | ||
|
||
To run all unit tests use the following command: | ||
|
||
```sh | ||
$ dart pub global activate coverage 1.2.0 | ||
$ dart test --coverage=coverage | ||
$ dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info | ||
``` | ||
|
||
To view the generated coverage report you can use [lcov](https://github.com/linux-test-project/lcov) | ||
. | ||
|
||
```sh | ||
# Generate Coverage Report | ||
$ genhtml coverage/lcov.info -o coverage/ | ||
|
||
# Open Coverage Report | ||
$ open coverage/index.html | ||
``` | ||
|
||
--- | ||
|
||
[coverage_badge]: coverage_badge.svg | ||
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg | ||
[license_link]: https://opensource.org/licenses/MIT | ||
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg | ||
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis | ||
[very_good_cli_link]: https://github.com/VeryGoodOpenSource/very_good_cli | ||
// TODO: add confirmation to logout command. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"مرحبًا": "مرحبًا يا صديقي" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"hallo": "hallo mein Freund" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"hello": "bonjour mon ami" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ langsync: | |
|
||
output: './example/locales' | ||
|
||
target: [ge, zh, es] | ||
target: [fr, de, ar, de, zh] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters