mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-09 11:29:58 +00:00
04d26e6fae
Also added a “description” field for wiki folders. Right now there’s too many editions listed. I think we should by default only list editions whose `tiddlywiki.info` file has `showInListings` set to `true`, and have an `--editions all` command that lists everything. @pmario please could you check that the editions in your `TIDDLYWIKI_EDITION_PATH` are correctly listed?
24 lines
772 B
Plaintext
24 lines
772 B
Plaintext
title: $:/language/Help/init
|
|
description: Initialise a new wiki folder
|
|
|
|
Initialise an empty [[WikiFolder|WikiFolders]] with a copy of the specified edition.
|
|
|
|
```
|
|
--init <edition> [<edition> ...]
|
|
```
|
|
|
|
For example:
|
|
|
|
```
|
|
tiddlywiki ./MyWikiFolder --init empty
|
|
```
|
|
|
|
Note:
|
|
|
|
* The wiki folder directory will be created if necessary
|
|
* The "edition" defaults to ''empty''
|
|
* The init command will fail if the wiki folder is not empty
|
|
* The init command removes any `includeWikis` definitions in the edition's `tiddlywiki.info` file
|
|
* When multiple editions are specified, editions initialised later will overwrite any files shared with earlier editions (so, the final `tiddlywiki.info` file will be copied from the last edition)
|
|
* `--editions` returns a list of available editions
|