Skip to content

Commit 7ada0b3

Browse files
authored
add explanation of new command and existing files (#101)
Signed-off-by: alexvoss <alex@corealization.com>
1 parent 91fa8d2 commit 7ada0b3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/usage/new.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ customized following the instructions in the [setup guides].
4646
[publish your documentation]: ../publish-your-site.md
4747
[GitHub Pages]: ../publish-your-site.md#github-pages
4848

49+
!!! note "Use in existing projects"
50+
Note that the `zensical new` command will not overwrite existing files.
51+
It will return with an error if a `zensical.toml` file already exists.
52+
If other files to be written already exist then the command will simply
53+
leave them untouched.
54+
4955
## Options
5056

5157
You can run `zensical new --help` to get command-line help for the `new`

0 commit comments

Comments
 (0)