Commands#

This page documents all the available commands in bplate.

bplate Information#

bplate version [--all]

Shows bplate version.

Flags:

--all: When set, shows other information about bplate and user’s machine.

Boilerplates Management#

These commands are used to manage stored boilerplates.

bplate new PATH

Creates and stores a new boilerplate from the given path.

If a bplate_config.json exists in the given directory, the name of boilerplate will be loaded from that file otherwise user will be prompted to enter the boilerplate name.

Arguments:

PATH: The path pointing to directory that should be stored as boilerplate. This argument must be point to an existing and readable directory.

bplate delete NAME

Deletes a stored boilerplate.

Arguments:

NAME: The name of boilerplate to delete.

bplate list

Lists the names of all the stored boilerplates.

bplate show NAME

Shows details about a stored boilerplate.

Arguments:

NAME: The name of boilerplate to show information of.

Boilerplate Generation#

These commands aid in generation of boilerplates.

bplate init NAME PATH

Initializes a boilerplate at the given path.

Arguments:

NAME: The name of stored boilerplate to generate from.

PATH: The directory where the boilerplate should be generated. If the given path does not point to an existing directory, it will be created.