greening.commands.new

Handles the greening new command.

This module provides the core logic to scaffold a new project using the configuration defined in greening.yaml. It supports project generation via Cookiecutter, optional virtual environment setup, and Git/GitHub initialization and push.

greening.commands.new.help_new()[source]

Displays help text for the greening new CLI command.

Prints usage instructions and configuration-based behavior such as GitHub repo creation, virtual environment setup, and project scaffolding.

Return type:

None

greening.commands.new.new()[source]

Scaffolds a new project using greening.yaml, initializes Git, optionally creates a virtual environment, and optionally pushes to a GitHub remote.

This is the public entry point used by greening new.

Return type:

None