Skip to main content

Create

gsk create

  1. Create new applications
gsk create applicationName ...
  1. Create a new application with options
gsk create --prefix=app.gostartkit.com/go applicationName ...

Options

-c --category

  • type: string
  • default: app
  • will add more category in plan

--prefix

  • type: string
  • default: app.gostartkit.com/go
  • prefix of module name, use in go.mod as module $prefix/$applicationName

-v --verbose

  • type: bool
  • make the operation more talkative

Example

  1. Create a demo application
gsk create demo
  1. Create some applications
gsk create demo1 demo2 demo3
  1. Create a demo application by npx, yarn, pnpm
npx create-go-app demo
yarn create go-app demo
pnpm create go-app demo
pnpm dlx create-go-app demo