working on initing a repo, more work on 'add' command
This commit is contained in:
@@ -3,6 +3,8 @@ package clientcmd
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
clientconfig "github.com/deranjer/gvc/client/clientconfig"
|
||||
)
|
||||
|
||||
//AddFiles adds files to the repo, inputType specifies file, folder, wildcard or all
|
||||
@@ -10,3 +12,9 @@ func AddFiles(input string, inputType string) error {
|
||||
fmt.Println("File/folder/wildcard to add", os.Args[2])
|
||||
return nil
|
||||
}
|
||||
|
||||
// AddRemote adds a remote to the config file
|
||||
func AddRemote(name string, host string, port int, conf *clientconfig.Gvcconfig) error {
|
||||
fmt.Println("name: ", name, "host: ", host, "port: ", port)
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user