Merge tag '0.0.2' into develop

Basic interactive overwrite strategy
This commit is contained in:
wpetit 2020-05-23 12:03:44 +02:00
commit a09cf49a61

View File

@ -12,7 +12,7 @@ go install forge.cadoles.com/wpetit/scaffold/cmd/scaffold
### À partir des binaires ### À partir des binaires
1. [Télécharger la dernière version du binaire correspondant à votre plateforme](https://forge.cadoles.com/wpetit/scaffold/releases) 1. [Télécharger la dernière version du binaire correspondant à votre plateforme](https://forge.cadoles.com/wpetit/scaffold/releases) (dernière version stable: 0.0.2)
2. Extraire l'archive et place le binaire `bin/scaffold` dans votre `$PATH` (par exemple dans le répertoire `/usr/local/bin`) 2. Extraire l'archive et place le binaire `bin/scaffold` dans votre `$PATH` (par exemple dans le répertoire `/usr/local/bin`)
## Usage ## Usage
@ -32,12 +32,21 @@ GLOBAL OPTIONS:
--help, -h show help (default: false) --help, -h show help (default: false)
``` ```
### `scaffold from [command options] <URL>` ### Commandes
#### `from`
``` ```
NAME:
scaffold from - generate a new project from a given template url
USAGE:
scaffold from [command options] <URL>
OPTIONS: OPTIONS:
--directory DIR, -d DIR Set destination to DIR (default: "./") --directory DIR, -d DIR Set destination to DIR (default: "./")
--manifest FILE, -m FILE The scaffold manifest FILE (default: "scaffold.yml") --manifest FILE, -m FILE The scaffold manifest FILE (default: "scaffold.yml")
--ignore value, -i value Ignore files matching pattern (default: ".git", ".git/**", "./.git/**/*")
--help, -h show help (default: false) --help, -h show help (default: false)
``` ```