1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-26 10:00:34 +00:00
TiddlyWiki5/languages/zh-Hant/Help/init.tid
Jermolene 04d26e6fae First pass at an --editions command
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?
2014-10-27 21:50:25 +00:00

24 lines
739 B
Plaintext

title: $:/language/Help/init
description: 初始化一個新的 wiki 資料夾
初始化一個空的 [[WikiFolder|WikiFolders]] 的指定版本的副本。
```
--init <edition> [<edition> ...]
```
例如:
```
tiddlywiki ./MyWikiFolder --init empty
```
注意:
* 若有需要,將建立 wiki 資料夾目錄
* 其中 "edition" 預設為 ''empty''
* 若 wiki 資料夾不是空的,則初始化命令將失敗
* 初始化命令會刪除 'tiddlywiki.info' 檔內所有 'includeWikis' 的定義。
* 當指定多個版本時,這些版本於初始化後,將覆寫早期版本共用的所有檔案 (故此最終的 `tiddlywiki.info` 檔案將是從最近的版本複製而得)
* `--editions` 傳回所有可用版本的清單。