Skip to content

Commit c3be4d1

Browse files
committed
updated the descriptions of the file system
1 parent bde4519 commit c3be4d1

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

_dev/push_multiple.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func main() {
4040
"project_key": ProjectKey,
4141
"file[0][hash]": sha256Hash(filename),
4242
"file[0][extension]": Extension,
43-
"file[0][file_type]": "xml",
43+
"file[0][file_type]": Extension,
4444
"file[0][location]": filename,
4545
}).
4646
Post("http://dev.devnagri.co.in/api/project/push")

cmd/status.go

+2
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ func fetchStatus() {
124124
fmt.Println("totalWordsCount : ", totalWordsCount)
125125
fmt.Println("translatedWordsCount : ", translatedWordsCount)
126126

127+
128+
//TODO: Do some maths here to print out the percentage
127129
/*
128130
for _, y := range valChildren {
129131
fmt.Println("\n", y)

cmd/sync.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
// syncCmd represents the sync command
2424
var syncCmd = &cobra.Command{
2525
Use: "sync",
26-
Short: "A brief description of sync command",
26+
Short: "This synchronises the files between Devnagri and local FileSystem.",
2727
Long: `A long description of sync command.`,
2828
Run: func(cmd *cobra.Command, args []string) {
2929
fmt.Println("sync called")

cmd/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"github.com/spf13/cobra"
2121
)
2222

23-
var version = "0.2.0"
23+
var version = "1.0.0"
2424

2525
// versionCmd represents the version command
2626
var versionCmd = &cobra.Command{

0 commit comments

Comments
 (0)