hubvault.entry
Entry points for the hubvault.entry package.
This package exposes the command-line interface (CLI) entry point for the
hubvault application. The primary public object is the CLI group imported
as hubvaultcli, which can be used to invoke CLI commands programmatically
or to register it with external tooling.
The package contains the following main components:
hubvaultcli- CLI group object for thehubvaultcommand-line tool
Example:
>>> from hubvault.entry import hubvaultcli
>>> # The object is typically used by CLI frameworks.
>>> # Actual invocation is usually handled by the CLI framework itself.
Note
The underlying CLI implementation is defined in hubvault.entry.cli.
This package module merely re-exports the CLI group for convenience.
hubvaultcli
- hubvault.entry.hubvaultcli(*args: t.Any, **kwargs: t.Any) t.Any
Main Click command group for the
hubvaultCLI.This command group provides a common entry point for subcommands and integrates global options such as
-C,--version, and help flags.- Parameters:
ctx (
click.core.Context) – Click context for the current command invocation.repo_path (str) – Optional repo path passed through
-C.
- Returns:
None.- Return type:
None
Example:
>>> # Typically invoked via a console entry point: >>> # $ hubvault -C /path/to/repo status