GitHub - PicGo/PicGo-Init: The official scaffolding tool for PicGo plugins.

Standalone initializer for PicGo plugin templates. This package replaces the legacy picgo init command from PicGo-Core.

Requirements

  • Node.js >= 22

Usage

npx picgo-init <template> [project]

Options:

  • --offline: use cached template from ~/.picgo/templates.

Examples:

# create a new project with an official template
npx picgo-init plugin my-project

# create a new project straight from a GitHub template
npx picgo-init username/repo my-project

CLI Help

Usage: picgo-init <template> [project]

create picgo plugin's development templates

Options:
  --offline   use cached template
  --debug     debug mode
  -h, --help  display help for command

Examples:

  # create a new project with an official template
  $ picgo-init plugin my-project

  # create a new project straight from a github template
  $ picgo-init username/repo my-project

Development

  • Install dependencies:
  • Run the unit tests:
  • Build the library: