Skip to main content

CLI to scaffold new projects and set up CI/CD pipelines with company standards

Project description

forge-scaffold

A CLI to scaffold new projects and set up enterprise-grade CI/CD pipelines with a single command.

Install

pip install forge-scaffold

Commands

forge init-ci

Set up a CI/CD pipeline on an existing project.

cd my-project
forge init-ci

Detects your project type automatically (Python, FastAPI, Node, React, Go) and guides you through:

  • CI jobs — lint, tests with coverage threshold, security scan, SonarCloud
  • CD jobs — Docker build, push to Docker Hub, Trivy CVE scan, SBOM generation
  • Deploy — SSH deploy to any server, with optional Caddy reverse proxy + automatic HTTPS
  • DNS — manual instructions or automatic Cloudflare A record creation
  • Secrets — pushes all credentials to GitHub automatically

forge init

Scaffold a new project from scratch with company standards.

forge init

Creates the project structure, Dockerfile, .gitignore, README, and sets up the GitHub repository with branch protection.

Supported project types

Type Lint Test Security
Python ruff / flake8 pytest + coverage pip-audit
FastAPI ruff / flake8 pytest + httpx pip-audit
Node ESLint jest / vitest npm audit
React ESLint vitest / jest npm audit
Go golangci-lint go test govulncheck

CI/CD pipeline example

ci.yml        lint → test → security → docker-build (optional)
cd.yml        build → push → trivy scan → SBOM → deploy via SSH

Every Docker image is tagged with :latest, :sha-xxxxxxx, and :vX.Y.Z on semver tags.

Requirements

  • Python 3.9+
  • GitHub account (optional, for repo creation and secrets)
  • Docker Hub account (optional, for image push)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

forge_scaffold-0.1.1.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

forge_scaffold-0.1.1-py3-none-any.whl (46.7 kB view details)

Uploaded Python 3

File details

Details for the file forge_scaffold-0.1.1.tar.gz.

File metadata

  • Download URL: forge_scaffold-0.1.1.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for forge_scaffold-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a231b33ba63e62b59f950dac2135ccb8068e5d0075171ff1f1eb4381db89cdb7
MD5 7f278577189b7c4a56956a65744bc834
BLAKE2b-256 d4e42d10457518ba7242f213f2b700ede0c7160d6f36ccdddc4d7b92fb6ac57f

See more details on using hashes here.

File details

Details for the file forge_scaffold-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: forge_scaffold-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 46.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for forge_scaffold-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6284b8fc5f0b8eefe799cc064f00554028eb4b9da99877892be877065ed5cf2c
MD5 c500d559d6d3576890118fcc613b7b01
BLAKE2b-256 ffa4baca835c42fcc80abb6f4a6db1713c647456e0699c1a21caec43685e1df2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page