@@ -27,51 +27,27 @@ This has been developed to facilitate the integration of Devnagri localization p
2727
2828This command initilizes the devnagri-cli ** .devnagri.yaml** within the repository which consists of the following fields
2929
30- ## sample content of the .devnagri.yaml
30+ ```
31+ ## sample content of the .devnagri.yaml
3132
32- ClientID: "Client ID"
33-
34- ClientSecret: "Client Secret"
35-
36- ProjectKey: "Project Key"
37-
38- Localizationfolder: "Path to Localization Folder"
39-
40- SourceLanguage: en
41-
42- LanguagesToBeTranslated:
43- - hi
44-
45- RootDir: "./"
46-
47- // TODO: Choose one => devnagri / local
48- GlobalPreferenceInCaseOfMergeConflict: "Remote"
49-
50- 1 . Sub-command
51-
52- 1 . client-id
53-
54- ```
55- devnagri init --client-id XXXXXXX
56- ```
57- 2 . client-secret
58-
59- ```
60- devnagri init --client-secret XXXXXXX
61- ```
62- 3 . project-key
63-
64- ```
65- devnagri init --client-key XXXXXXX
66- ```
67-
33+ ClientID: 1
34+ ClientSecret: CIo1QNTKcM4FMMpI7JlytrHt1p1Iux9EENSYzBHi
35+ GlobalPreferenceInCaseOfMergeConflict: devnagri
36+ ProjectKey: 5034b2cd56c8f3af0c711a9a437eb616
37+ RootDir: langs
38+ SourceLanguage: en
39+ TargetLanguages:
40+ - hi
41+ AccessToken: 129832983740912374v29081374v9028374907291083472
42+ ```
6843
6944
7045### validate
7146
7247Just validate the credentials
7348
7449- Send a sample request to devnagri to recieve the project-key [ generate this via browser ]
50+
7551- On local machine, validate the YAML file
7652
7753 ```
@@ -126,16 +102,6 @@ This command pushes the local files to devnagri
126102
127103
128104
129- ### sync
130-
131- This command synchronizes the files between the devnagri server and local environments
132-
133- ```
134- > devnagri sync
135- ```
136-
137-
138-
139105### help
140106
141107This command prints out the devnagri CLI help menu and prints a short summary of all the commands
0 commit comments