working on the add command

This commit is contained in:
2020-05-27 20:55:33 -04:00
parent 5d7cd68279
commit 2d743d17c3
4 changed files with 69 additions and 24 deletions

View File

@@ -5,14 +5,8 @@ import (
"os"
)
//AddFiles adds files to the repo
func AddFiles() error {
//AddFiles adds files to the repo, inputType specifies file, folder, wildcard or all
func AddFiles(input string, inputType string) 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
}