Skip to content

[Feature]: Add hooks for customizing project scaffolding #19

Description

@Sehnya

Problem Statement

Developers may have unique requirements for scaffolding projects that aren't covered by default templates.

Proposed Solution

Provide a hook system that allows users to inject custom logic or files during the scaffolding process.

Alternative Solutions

Allow users to copy and modify the template files directly (less flexible and more error-prone).

Feature Category

Project Scaffolding

Priority Level

Medium - Would improve workflow

Use Cases

  1. When integrating with a company-specific CI/CD setup.
  2. When enforcing custom code standards.
  3. When adding proprietary files to every new project.

Examples

# Example
peezy create my-app --hook post-scaffold.js

Additional Context

Hooks could be implemented as JS/TS or Python scripts, depending on the selected runtime.

Checklist

  • I have searched existing issues to ensure this is not a duplicate
  • I have provided a clear problem statement and proposed solution
  • This feature aligns with Peezy CLI's goals of simplifying project initialization

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions