bbdc-cli 0.4.1__tar.gz → 0.4.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bbdc-cli
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Typer CLI for Bitbucket Data Center
5
5
  Project-URL: Repository, https://github.com/marcosgalleterobbva/bb-cli
6
6
  Keywords: bitbucket,cli,typer,data-center,server
@@ -1758,6 +1758,7 @@ def account_me(
1758
1758
  ),
1759
1759
  limit: int = typer.Option(25, help="Page size for account-related paged endpoints"),
1760
1760
  max_items: int = typer.Option(100, help="Max items per account-related endpoint"),
1761
+ json_out: bool = typer.Option(False, "--json", help="Print raw JSON response"),
1761
1762
  ):
1762
1763
  """Get a consolidated snapshot of the authenticated account.
1763
1764
 
@@ -1772,7 +1773,10 @@ def account_me(
1772
1773
  limit=limit,
1773
1774
  max_items=max_items,
1774
1775
  )
1775
- _print_json(resp["data"])
1776
+ if json_out:
1777
+ _print_json(resp["data"])
1778
+ else:
1779
+ _print_json(resp["data"])
1776
1780
 
1777
1781
 
1778
1782
  @pr_app.command("list")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bbdc-cli
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Typer CLI for Bitbucket Data Center
5
5
  Project-URL: Repository, https://github.com/marcosgalleterobbva/bb-cli
6
6
  Keywords: bitbucket,cli,typer,data-center,server
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "bbdc-cli"
7
- version = "0.4.1"
7
+ version = "0.4.2"
8
8
  description = "Typer CLI for Bitbucket Data Center"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
File without changes
File without changes
File without changes