newed - a birthday suit for your project

June 12, 2024 ยท View on GitHub

GitHub release (with filter) go.mod GitHub License Common Changelog wakatime

codecov CodeQL Coverage Code Smells Security Rating

`newed`` creates projects from templates.

Manifesto

  1. MUST create a project in the specified directory from a template
  2. The user MAY add/remove/modify project templates
  3. MUST run and pass linting/testing as a template
  4. MUST NOT require manual edits after generation to run and pass linting/testing
  5. MUST support any file type or internal directory structure

Install

go install github.com/asphaltbuffet/newed@latest

Usage

See command documentation.

Configuration

.newed.toml

application specific configuration

bootstrap.toml

Optional in each template directory. It defines post-generation key-value replacements.

Build

Build scripts use Task.

Install the necessary dependencies with task install. This should usually only be necessary to do once.

task snapshot will create a local build for your OS in ./dist/newed-<OS name>/.