blaze.sh
blaze
allows you to run all BlazeBlogger utilities with a single command.
blaze
command
[option
…]blaze
help
|man
[command
]blaze
-h
|-v
blaze
provides a common way to run BlazeBlogger utilities with a single command.
-h
, --help
-v
, --version
init
, in
blaze-init
, a utility that either creates a BlazeBlogger repository, or recovers a previously corrupted one. Refer to Section 3.1, “blaze-init
” for a full description of the command usage.
config
, cf
, cfg
blaze-config
, a utility that either displays, or sets BlazeBlogger configuration options. Refer to Section 3.2, “blaze-config
” for a full description of the command usage.
add
blaze-add
, a utility that adds a blog post or a page to the BlazeBlogger repository. Refer to Section 3.3, “blaze-add
” for a full description of the command usage.
edit
, ed
blaze-edit
, a utility that edits a blog post or a page in the BlazeBlogger repository. Refer to Section 3.4, “blaze-edit
” for a full description of the command usage.
remove
, rm
, del
blaze-remove
, a utility that removes a blog post or a page from the BlazeBlogger repository. Refer to Section 3.5, “blaze-remove
” for a full description of the command usage.
list
, ls
blaze-list
, a utility that lists blog posts or pages in the BlazeBlogger repository. Refer to Section 3.6, “blaze-list
” for a full description of the command usage.
make
, mk
blaze-make
, a utility that generates a blog from the BlazeBlogger repository. Refer to Section 3.7, “blaze-make
” for a full description of the command usage.
log
blaze-log
, a utility that displays the BlazeBlogger repository log. Refer to Section 3.8, “blaze-log
” for a full description of the command usage.
help
command
.
man
command
.
version
, vs
, ver
EDITOR
core.editor
option is set, blaze
tries to use system-wide settings to decide which editor to use.
blaze-remove
command:
~]$ blaze remove -p 4
Successfully removed the page with ID 4.
blaze-config
command:
~]$ blaze help config
Usage: blaze-config [-qV] [-b DIRECTORY] [-E EDITOR] OPTION [VALUE...]
blaze-config -e [-b DIRECTORY]
blaze-config -h|-v
-b, --blogdir DIRECTORY specify a directory in which the BlazeBlogger
repository is placed
-E, --editor EDITOR specify an external text editor
-e, --edit edit the configuration in a text editor
-q, --quiet do not display unnecessary messages
-V, --verbose display all messages
-h, --help display this help and exit
-v, --version display version information and exit
blaze-init
command:
~]$ blaze man init
blaze-init
”blaze-init
creates a BlazeBlogger repository, or recovers a previously corrupted one.
blaze-config
”blaze-config
displays or sets BlazeBlogger configuration options.
blaze-add
”blaze-add
adds a blog post or a page to the BlazeBlogger repository.
blaze-edit
”blaze-edit
edits a blog post or a page in the BlazeBlogger repository.
blaze-remove
”blaze-remove
removes a blog post or a page from the BlazeBlogger repository.
blaze-list
”blaze-list
lists blog posts or pages in the BlazeBlogger repository.
blaze-make
”blaze-make
generates a blog from the BlazeBlogger repository.
blaze-log
”blaze-log
displays the BlazeBlogger repository log.