Skip to content

Commit

Permalink
removed the sync for v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi18av committed Jan 16, 2018
1 parent 0143a89 commit bf1cb44
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 92 deletions.
45 changes: 0 additions & 45 deletions cmd/sync.go

This file was deleted.

60 changes: 13 additions & 47 deletions docs/CLI_User_Documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,51 +27,27 @@ This has been developed to facilitate the integration of Devnagri localization p

This command initilizes the devnagri-cli **.devnagri.yaml** within the repository which consists of the following fields

## sample content of the .devnagri.yaml
```
## sample content of the .devnagri.yaml
ClientID: "Client ID"

ClientSecret: "Client Secret"

ProjectKey: "Project Key"

Localizationfolder: "Path to Localization Folder"

SourceLanguage: en

LanguagesToBeTranslated:
- hi

RootDir: "./"

// TODO: Choose one => devnagri / local
GlobalPreferenceInCaseOfMergeConflict: "Remote"

1. Sub-command

1. client-id

```
devnagri init --client-id XXXXXXX
```
2. client-secret

```
devnagri init --client-secret XXXXXXX
```
3. project-key

```
devnagri init --client-key XXXXXXX
```

ClientID: 1
ClientSecret: CIo1QNTKcM4FMMpI7JlytrHt1p1Iux9EENSYzBHi
GlobalPreferenceInCaseOfMergeConflict: devnagri
ProjectKey: 5034b2cd56c8f3af0c711a9a437eb616
RootDir: langs
SourceLanguage: en
TargetLanguages:
- hi
AccessToken: 129832983740912374v29081374v9028374907291083472
```


### validate

Just validate the credentials

- Send a sample request to devnagri to recieve the project-key [ generate this via browser ]

- On local machine, validate the YAML file

```
Expand Down Expand Up @@ -126,16 +102,6 @@ This command pushes the local files to devnagri
### sync
This command synchronizes the files between the devnagri server and local environments
```
> devnagri sync
```
### help
This command prints out the devnagri CLI help menu and prints a short summary of all the commands
Expand Down

0 comments on commit bf1cb44

Please sign in to comment.