0.2.2 • Published 5 years ago

sawhorse-cli v0.2.2

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

sawhorse-cli

Creating a new project

sawhorse create my-project
sawhorse create my-project -T [folder,path,url]

Updating an existing project

cd my-project
sawhorse import -T [folder,path,url] --include [folders,paths]
  • If specified, only updates top-level elements matching `--include.

Packaging a template

cd my-project
sawhorse package --include [glob list] --output [filename]

For example

sawhorse create my-project -T /path/to/template_folder
sawhorse create my-project -T /path/to/template.zip
sawhorse create my-project -T http://example.com/template.zip
sawhorse import -T http://example.com/template.zip --include README.md,html
sawhorse package --include src/**,README.md,tests/** --output hw-template.zip
sawhorse package --include src/**,README.md,tests/** --output hw-template.zip