Skip to content

show

The show CLI subcommand implementation.

Functions

show

show(
    args: List[str],
    config_file: Optional[str],
    format_: str,
    increment: Optional[str],
    current_version: Optional[str],
) -> None

Show current configuration information.

ARGS may contain one or more configuration attributes. For example:

  • bump-my-version show current_version
  • bump-my-version show files.0.filename
  • bump-my-version show scm_info.branch_name
  • bump-my-version show current_version scm_info.distance_to_latest_tag