Product SiteDocumentation Site

Chapter 3. Core Utilities

3.1. blaze-init
3.1.1. Synopsis
3.1.2. Description
3.1.3. Options
3.1.4. Example Usage
3.1.5. See Also
3.2. blaze-config
3.2.1. Synopsis
3.2.2. Description
3.2.3. Options
3.2.4. Environment Variables
3.2.5. Files
3.2.6. Example Usage
3.2.7. See Also
3.3. blaze-add
3.3.1. Synopsis
3.3.2. Description
3.3.3. Options
3.3.4. Environment Variables
3.3.5. Example Usage
3.3.6. See Also
3.4. blaze-edit
3.4.1. Synopsis
3.4.2. Description
3.4.3. Options
3.4.4. Environment Variables
3.4.5. Example Usage
3.4.6. See Also
3.5. blaze-remove
3.5.1. Synopsis
3.5.2. Description
3.5.3. Options
3.5.4. Example Usage
3.5.5. See Also
3.6. blaze-list
3.6.1. Synopsis
3.6.2. Description
3.6.3. Options
3.6.4. Example Usage
3.6.5. See Also
3.7. blaze-make
3.7.1. Synopsis
3.7.2. Description
3.7.3. Options
3.7.4. Files
3.7.5. Example Usage
3.7.6. See Also
3.8. blaze-log
3.8.1. Synopsis
3.8.2. Description
3.8.3. Options
3.8.4. Files
3.8.5. Example Usage
3.8.6. See Also
This chapter provides a thorough description of core BlazeBlogger utilities and their respective command line options.

3.1. blaze-init

blaze-init creates a BlazeBlogger repository, or recovers a previously corrupted one.

3.1.1. Synopsis

blaze-init [-fqV] [-b directory]

blaze-init -h|-v

3.1.2. Description

blaze-init either creates a fresh new BlazeBlogger repository, or recovers an existing one in case it is corrupted. Optionally, it can also revert a configuration and default templates to their original state, leaving all user data (that is, both blog posts and pages) intact.

3.1.3. Options

-b directory, --blogdir directory
Allows you to specify a directory in which the BlazeBlogger repository is to be blaced. The default option is a current working directory.
-f, --force
Reverts existing configuration, theme, and language files to their initial state. By default, these files are kept intact.
-q, --quiet
Disables displaying of unnecessary messages.
-V, --verbose
Enables displaying of all messages, including a list of created files.
-h, --help
Displays usage information and exits.
-v, --version
Displays version information and exits.

3.1.4. Example Usage

  • Create a new blog in a current directory:
    ~]$ blaze-init
    Created a BlazeBlogger repository in .blaze.
  • Create a new blog in ~/public_html:
    ~]$ blaze-init -b ~/public_html
    Created a BlazeBlogger repository in /home/jhradilek/public_html/.blaze.
  • Revert a configuration file and default templates to their initial state:
    ~]$ blaze-init -f
    Recovered a BlazeBlogger repository in .blaze.
    Or if you want to see what files have been reverted:
    ~]$ blaze-init -fV
    Created .blaze/config
    Created .blaze/theme/default.html
    Created .blaze/style/default.css
    Created .blaze/lang/en_US
    Recovered a BlazeBlogger repository in .blaze.

3.1.5. See Also

Section 3.2, “blaze-config
blaze-config displays or sets BlazeBlogger configuration options.
Section 3.3, “blaze-add
blaze-add adds a blog post or a page to the BlazeBlogger repository.