pygame-cli

A CLI project management library for pygame community edition.


Keywords
pygame, cli, project
License
MIT
Install
pip install pygame-cli==1.0.7

Documentation

pygame-cli

PyPI - Version Tests License PyPI - Status

A CLI project management tool for pygame community edition.

Features

  • Create new projects with metadata
  • Manage multiple projects via the terminal
  • Run projects locally or in browser (pygbag)
  • Build projects for distribution (cx_Freeze)
  • Clone projects directly from Git repositories

Getting Started

Requirements:

# Windows
winget install --id Git.Git -e --source winget

# Linux (Debian,Fedora,Arch)
sudo apt install git patchelf
sudo dnf install git patchelf
sudo pacman -S git patchelf

# macOS
brew install git

Install:

pip install pygame-cli

Basic Example:

# Create a new project
pygame new my_game

# Run the project
pygame run my_game

# List all projects
pygame list

# Build for distribution
pygame build my_game

To see all available commands:

pygame --help

Command Aliases

You can use any of these aliases: pygame pygame-ce pgce

License

This project is licensed under the MIT License. See the LICENSE.txt file for the full license text.