Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

@pockgin/cli

Standardized build workflow CLI for PocketMine-MP plugins in the Pockgin ecosystem.

Commands

Command Description
pockgin validate [dir] Validate plugin.yml, directory structure, and compliance rules
pockgin build [dir] Build .phar artifact (requires PHP on PATH)
pockgin release [dir] Check version bump and create git tag if needed

Installation

git clone https://github.com/pockgin/cli.git
cd cli
npm install

Usage

# Validate a plugin
node bin/pockgin.js validate /path/to/your/plugin

# Build a .phar
node bin/pockgin.js build /path/to/your/plugin

# Check for version bump and create tag
node bin/pockgin.js release /path/to/your/plugin

Output

The build command produces:

  • dist/{PluginName}.phar - the plugin archive
  • dist/build-meta.json - build metadata (name, version, timestamp, builder)

Requirements

  • Node.js 18+
  • PHP 8.2+ with phar.readonly=0 (for actual .phar builds)

Without PHP, build runs in stub mode and only produces build-meta.json.

License

MIT

About

Standardized build workflow CLI for PocketMine-MP plugins in the Pockgin ecosystem.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages