Skip to content

PicGo/PicGo-Init

Repository files navigation

PicGo-Init

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:
pnpm install
  • Run the unit tests:
pnpm test
  • Build the library:
pnpm build

About

The official scaffolding tool for PicGo plugins.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published