From 847108de3748c4835914ea202b118fabc3c64603 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sat, 5 May 2012 11:22:13 +0100 Subject: [PATCH] Updated docs --- rabbithole/tw5.com/tiddlers/CommandLineInterface.tid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rabbithole/tw5.com/tiddlers/CommandLineInterface.tid b/rabbithole/tw5.com/tiddlers/CommandLineInterface.tid index 5bcf6432c..d05121971 100644 --- a/rabbithole/tw5.com/tiddlers/CommandLineInterface.tid +++ b/rabbithole/tw5.com/tiddlers/CommandLineInterface.tid @@ -10,20 +10,20 @@ node core/boot.js This boots the TiddlyWiki kernel and loads the core plugins. The wiki store is initially empty. The command line options are processed sequentially from left to right. Processing pauses during long operations and then resumes with the next command line option in sequence. -ent recipe The following options are available: |`--load ` |Load tiddlers from 2.x.x TiddlyWiki files (`.html`), `.tiddler`, `.tid`, `.json` or other files | |`--savetiddler <filename> [<type>]` |Save an individual tiddler as a specified MIME type, defaults to `text/html` | |`--wikitest <dir> [save]` |Run wikification tests against the tiddlers in the given directory. Include the `save` flag to save the test result files as the new targets | |`--dump tiddlers` |Dump the titles of the tiddlers in the wiki store | +|`--dump tiddler <title>` |Dump the fields of an individual tiddler | |`--dump shadows` |Dump the titles of the shadow tiddlers in the wiki store | |`--dump config` |Dump the current core configuration | |`--verbose` |Triggers verbose output, useful for debugging | !! Examples This example loads the tiddlers from a TiddlyWiki HTML file and then saves one of them in HTML: ` -node tiddlywiki.js --verbose --load mywiki.html --savertiddler ReadMe ./readme.html +node tiddlywiki.js --verbose --load mywiki.html --savetiddler ReadMe ./readme.html ` !! Notes `--wikitest` looks for `*.tid` files in the specified folder. It then wikifies the tiddlers to both "text/plain" and "text/html" format and checks the results against the content of the `*.html` and `*.txt` files in the same directory.