Utilitaire de génération d’arborescence de fichiers à partir de projets “modèles” distants/locaux.
Go to file
wpetit 01f099b02e Mise à jour de 'doc/scaffold_file_format.md' 2021-07-09 13:53:52 +02:00
cmd/scaffold Prompt for template variables values based on the available manifest 2020-02-21 14:29:26 +01:00
doc Mise à jour de 'doc/scaffold_file_format.md' 2021-07-09 13:53:52 +02:00
internal Rename 'new' command to 'from' 2020-04-07 08:44:21 +02:00
misc/script Add gitea-release task 2020-05-18 12:15:34 +02:00
.env.dist Add gitea-release task 2020-05-18 12:15:34 +02:00
.gitignore Add gitea-release task 2020-05-18 12:15:34 +02:00
LICENSE Add licence file 2020-04-07 08:59:50 +02:00
Makefile Add gitea-release task 2020-05-18 12:15:34 +02:00
README.md Add `scaffold.yml` file format base documentation 2021-07-09 13:53:52 +02:00
go.mod Prompt for template variables values based on the available manifest 2020-02-21 14:29:26 +01:00
go.sum Prompt for template variables values based on the available manifest 2020-02-21 14:29:26 +01:00
modd.conf Initial commit 2020-02-20 08:31:22 +01:00

README.md

Scaffold

Utilitaire de génération d'arborescence de fichiers à partir de projets "modèles" distants/locaux.

Installation

À partir des sources

go install forge.cadoles.com/wpetit/scaffold/cmd/scaffold

À partir des binaires

  1. Télécharger la dernière version du binaire correspondant à votre plateforme
  2. Extraire l'archive et place le binaire bin/scaffold dans votre $PATH (par exemple dans le répertoire /usr/local/bin)

Usage

NAME:
   scaffold - generate/update directory tree from template

USAGE:
   scaffold [global options] command [command options] [arguments...]

COMMANDS:
   from, n  generate a new project from a given template url
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help (default: false)

scaffold from [command options] <URL>

OPTIONS:
   --directory DIR, -d DIR   Set destination to DIR (default: "./")
   --manifest FILE, -m FILE  The scaffold manifest FILE (default: "scaffold.yml")
   --help, -h                show help (default: false)

Documentation

Licence

GPL-3.0