Skip to content

Commit

Permalink
docs: Mention the Copier --trust flag
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Aug 25, 2023
1 parent 2691eba commit aea1ec0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ Make sure all the
are met, then:

```bash
copier copy "https://github.com/pawamoy/copier-pdm.git" /path/to/your/new/project
copier copy --trust "https://github.com/pawamoy/copier-pdm.git" /path/to/your/new/project
```

Or even shorter:

```bash
copier copy "gh:pawamoy/copier-pdm" /path/to/your/new/project
copier copy --trust "gh:pawamoy/copier-pdm" /path/to/your/new/project
```

See the [documentation](https://pawamoy.github.io/copier-pdm)
Expand Down
6 changes: 3 additions & 3 deletions docs/generate.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
To generate a project, run the following command:

```bash
copier copy "https://github.com/pawamoy/copier-pdm.git" /path/to/your/new/project
copier copy --trust "https://github.com/pawamoy/copier-pdm.git" /path/to/your/new/project
```

Or with a shorter command:

```bash
copier copy "gh:pawamoy/copier-pdm" /path/to/your/new/project
copier copy --trust "gh:pawamoy/copier-pdm" /path/to/your/new/project
```

You can even generate a project without installing copier, using `pipx`:

```bash
pipx run copier copy "gh:pawamoy/copier-pdm" /path/to/your/new/project
pipx run copier copy --trust "gh:pawamoy/copier-pdm" /path/to/your/new/project
```

## Questions
Expand Down
2 changes: 1 addition & 1 deletion tests/helpers.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
generate() {
copier copy -f --UNSAFE -r HEAD "$1" "$2" \
copier copy -f --trust -r HEAD "$1" "$2" \
-d testing=true \
-d project_name="Pawamoy Testing" \
-d project_description='Testing this great template' \
Expand Down
2 changes: 1 addition & 1 deletion tests/test_licenses.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ cp -rf . "${template}"
)

for license in "${LICENSES[@]}"; do
copier copy -f --UNSAFE "${template}" "${output}" \
copier copy -f --trust "${template}" "${output}" \
-d project_name="Pawamoy Testing" \
-d project_description='Testing this great template' \
-d author_fullname="Timothée Mazzucotelli" \
Expand Down

0 comments on commit aea1ec0

Please sign in to comment.