Standalone initializer for PicGo plugin templates. This package replaces the legacy
picgo init command from PicGo-Core.
- Node.js >= 22
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-projectUsage: picgo-init <template> [project]
create picgo plugin's development templatesOptions: --offline use cached template --debug debug mode -h, --help display help for commandExamples: # 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- Install dependencies:
pnpm install- Run the unit tests:
pnpm test- Build the library:
pnpm build