working on the add command
This commit is contained in:
		@@ -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
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user