Giter Site home page Giter Site logo

luis-sousa-pinto / scaffold Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hay-kot/scaffold

0.0 0.0 0.0 750 KB

A cookie cutter alternative with in-project scaffolding for generating components, controllers, or other common code patterns.

Home Page: https://hay-kot.github.io/scaffold/

Go 100.00%

scaffold's Introduction

Scaffold

Project Generation Tool

Scaffold is a project generation tool similar to cookiecutter written in Go that leverages the Go template engine to generate projects from a template. It is designed to be used with git or the local file system with a built in "scaffold" management system for versions and templates.

What set's Scaffold apart from projects like cookiecutter is the ability to define reusable scaffolds called template scaffolds within a project to help bootstrap code changes in new projects.

You're able to use a .scaffolds directory within a project to define a scaffold that can generate files in multiple locations around your project. This is useful for generating boilerplate starter code for:

  • React/Vue/Angular/... components
  • Ansible Roles
  • CRUD API endpoint stubs
  • Other commonly structured code folders

See the examples folder for some examples of how to use Scaffold.

Core Features

  • Generate projects from a template
  • Git based scaffolds
    • Update scaffolds with scaffold update
    • List scaffolds with scaffold list
    • Pull specific tag or branch
  • Generate files in multiple locations within an existing project
  • Pre/Post Messages defined in the scaffold (supports markdown)
  • Alias support for shortening common commands
  • Shortcuts for common prefixes (e.g gh: for github.com)
  • Conditional Prompting based on user input
  • Inject snippets into existing files with Scaffold Templates
  • Feature flag support for blocking/enabling rendering of entire directories/glob matches

scaffold's People

Contributors

hay-kot avatar renovate[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.