Next: , Up: Creating boilerplate   [Index]


3.1 new-boilerplate: Reset the current working boilerplate

The new-boilerplate command throws out the current working boilerplate. The command is usually executed like so:

$ licensing new-boilerplate

Any previously selected licenses or commenting styles are forgotten. Any previously specified copyright holders are also forgotten. Lastly, if a project identifier was included, or a top line or an extra line was specified, it is also forgotten.

The new-boilerplate command is equivalent to:

licensing choose no-license no-style --quiet
licensing copyright --remove --quiet
licensing project --remove --quiet
licensing top --remove --quiet
licensing extra --remove --quiet
echo "Removed." >&2

The --quiet option prevents the final ‘Removed.’ message from being displayed.