Previous: project invocation, Up: Creating boilerplate [Index]
extra: Add some extra text to the boilerplate
extra command specifies some arbitrary text to be shown before the license notices. Perhaps the copyright holder is an organisation and it is useful to include the actual names of the authors of the file. Or perhaps it is useful to insert some explanatory text describing how the work is dual-licensed.
To specify some extra text, use the
extra command like so:
$ licensing extra "Written by Thomas Pynchon <firstname.lastname@example.org>." Added.
The double quotes are added in this example so that ‘<’ and ‘>’ aren’t treated as redirection symbols by the shell.
project, when the
extra command is executed without any arguments, the current extra text is displayed:
$ licensing extra Written by Thomas Pynchon <email@example.com>.
Subsequent calls of the
extra command override earlier calls.
The --remove option removes the extra text from the current working boilerplate.
To prevent the ‘Added.’ or ‘Removed.’ messages from being displayed, use the --quiet option.