Usage

Installing this package provides you with a reuse-shortcuts CLI executable. When using this command in a repository, it will look for a file named .reuse/shortcuts.yaml in the root of the repository. This file is supposed to have the following format:

<key>:
  copyrights: []
  years: []
  licenses: []

where copyrights, years and licenses are what you would usually add with reuse annotate --year <year> --copyright <copyright> --license <license [further options], and <key> is an identifier you define yourself.

Instead of calling the very verbose reuse annotate [...] [further options] command, you can just run reuse-shortcuts <key> [further options] with the <key> you defined in the shortcuts.yaml file.

Extra arguments

You can always add any additional argument that are valid for the reuse annotate command. You may, for instance, add another copyright holder in that command via reuse-shortcuts code --copyright 'some one else' new-file.py.