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

16
client/clientcmd/init.go Normal file
View File

@@ -0,0 +1,16 @@
package clientcmd
import (
"fmt"
"os"
)
//AddFiles adds files to the repo
func InitializeRepo() error {
cwd, err := os.Getwd()
if err != nil {
return err
}
fmt.Println("Initializing repo in dir: ", cwd)
return nil
}