hubvault.entry.history
History-oriented CLI commands for hubvault.entry.
This module exposes git-like history browsing commands such as log on top
of the public hubvault API.
The module contains:
register_history_commands()- Register history commands on a Click group
register_history_commands
- hubvault.entry.history.register_history_commands(group: Group) Group[source]
Register history commands on a Click command group.
- Parameters:
group (click.Group) – Click group receiving the registered commands
- Returns:
The same Click group for decorator chaining
- Return type:
click.Group
Example:
>>> import click >>> group = click.Group() >>> register_history_commands(group) is group True