Commit c3be4d1 1 parent bde4519 commit c3be4d1 Copy full SHA for c3be4d1
File tree 4 files changed +5
-3
lines changed
4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ func main() {
40
40
"project_key" : ProjectKey ,
41
41
"file[0][hash]" : sha256Hash (filename ),
42
42
"file[0][extension]" : Extension ,
43
- "file[0][file_type]" : "xml" ,
43
+ "file[0][file_type]" : Extension ,
44
44
"file[0][location]" : filename ,
45
45
}).
46
46
Post ("http://dev.devnagri.co.in/api/project/push" )
Original file line number Diff line number Diff line change @@ -124,6 +124,8 @@ func fetchStatus() {
124
124
fmt .Println ("totalWordsCount : " , totalWordsCount )
125
125
fmt .Println ("translatedWordsCount : " , translatedWordsCount )
126
126
127
+
128
+ //TODO: Do some maths here to print out the percentage
127
129
/*
128
130
for _, y := range valChildren {
129
131
fmt.Println("\n", y)
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import (
23
23
// syncCmd represents the sync command
24
24
var syncCmd = & cobra.Command {
25
25
Use : "sync" ,
26
- Short : "A brief description of sync command " ,
26
+ Short : "This synchronises the files between Devnagri and local FileSystem. " ,
27
27
Long : `A long description of sync command.` ,
28
28
Run : func (cmd * cobra.Command , args []string ) {
29
29
fmt .Println ("sync called" )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import (
20
20
"github.com/spf13/cobra"
21
21
)
22
22
23
- var version = "0.2 .0"
23
+ var version = "1.0 .0"
24
24
25
25
// versionCmd represents the version command
26
26
var versionCmd = & cobra.Command {
You can’t perform that action at this time.
0 commit comments