Add create subcommand

This commit is contained in:
Richard Marshall
2019-07-29 21:49:32 -07:00
parent e904f612f3
commit 5dfa929906
6 changed files with 450 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ package fs
import (
"io"
"os"
"path/filepath"
)
// FileSystem groups basic os filesystem methods.
@@ -35,6 +36,7 @@ type FileSystem interface {
Glob(pattern string) ([]string, error)
ReadFile(name string) ([]byte, error)
WriteFile(name string, data []byte) error
Walk(path string, walkFn filepath.WalkFunc) error
}
// File groups the basic os.File methods.