adding custom config library, can read/write TOML, started config validation

This commit is contained in:
2020-05-26 22:58:24 -04:00
commit 5d7cd68279
14 changed files with 352 additions and 0 deletions

18
client/clientcmd/add.go Normal file
View File

@@ -0,0 +1,18 @@
package clientcmd
import (
"fmt"
"os"
)
//AddFiles adds files to the repo
func AddFiles() error {
fmt.Println("File/folder/wildcard to add", os.Args[2])
return nil
}
//AddAll adds all files in working dir
func AddAll() error {
fmt.Println("Adding all files", os.Args[2])
return nil
}