Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.07 KB

new.md

File metadata and controls

52 lines (36 loc) · 1.07 KB

gsv new

create new instances (blog|post|page)

gsv new:blog [PATH]

creates a new gatsby blog

USAGE
  $ gsv new:blog [PATH]

OPTIONS
  -c, --customStarter=customStarter  use a custom git repo as a starter
  -f, --force
  -h, --help                         show CLI help
  -s, --starter=starter              [default: default] gatsby starter to use

See code: src/commands/new/blog.ts

gsv new:page [FILE]

add a new page to the current blog

USAGE
  $ gsv new:page [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

See code: src/commands/new/page.ts

gsv new:post

generate a new multi-command CLI

USAGE
  $ gsv new:post

See code: src/commands/new/post.ts