bevor-cli 0.2.0rc2__tar.gz → 0.2.0rc3__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.
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/PKG-INFO +2 -2
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/codes/list.py +5 -10
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/codes/view.py +2 -2
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/pyproject.toml +2 -2
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/.gitignore +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/README.md +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/actions.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/annotations/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/annotations/confirmations.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/annotations/literal_args.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/annotations/query.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/apps/analyses.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/apps/chat.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/apps/codes.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/apps/findings.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/apps/main.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/apps/nodes.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/apps/projects.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/apps/sessions.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/apps/workspaces.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/callbacks/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/callbacks/notify.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/callbacks/upgrade.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/callbacks/version.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/client.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/chats/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/chats/get.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/chats/list.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/chats/messages.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/chats/new.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/chats/resume.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/chats/session.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/commit.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/create.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/delete.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/deselect.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/diff.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/entrypoints.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/fork.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/lineage.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/list.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/materialize.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/merge.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/reset.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/retry.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/run.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/select.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/set_head.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/transitions.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/analyses/view.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/auth/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/auth/login.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/auth/logout.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/auth/whoami.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/codes/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/codes/push.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/codes/select.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/findings/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/findings/acknowledge.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/findings/add.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/findings/delete.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/findings/edit.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/findings/get.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/findings/import_findings.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/findings/interactive.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/findings/list.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/findings/revert.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/graph/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/graph/call_chain.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/graph/edges.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/graph/interactive.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/graph/renderer.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/link/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/link/helpers.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/nodes/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/nodes/get.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/nodes/list.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/nodes/source.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/projects/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/projects/create.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/projects/list.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/projects/select.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/projects/view.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/reflog/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/sessions/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/sessions/list.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/sessions/revoke.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/status/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/sync/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/workspaces/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/workspaces/list.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/workspaces/pick.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/workspaces/select.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/commands/workspaces/view.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/configuration/__init__.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/configuration/creds.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/configuration/logs.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/configuration/state.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/configuration/update.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/findings_yaml.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/fingerprint.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/main.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/output.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/select.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/settings.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/bevor_cli/target.py +0 -0
- {bevor_cli-0.2.0rc2 → bevor_cli-0.2.0rc3}/cli-hierarchy.py +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: bevor-cli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.0rc3
|
|
4
4
|
Summary: Bevor CLI tool for security analysis and graph inspection
|
|
5
5
|
Classifier: Development Status :: 3 - Alpha
|
|
6
6
|
Requires-Python: >=3.13
|
|
7
|
-
Requires-Dist: bevor-sdk==0.2.
|
|
7
|
+
Requires-Dist: bevor-sdk==0.2.0rc3
|
|
8
8
|
Requires-Dist: click~=8.1
|
|
9
9
|
Requires-Dist: httpx~=0.28
|
|
10
10
|
Requires-Dist: packaging~=26.2
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"""``bevor codes list`` — list code versions."""
|
|
2
2
|
|
|
3
|
-
from typing import Annotated, List,
|
|
3
|
+
from typing import Annotated, List, Optional
|
|
4
4
|
|
|
5
5
|
import typer
|
|
6
|
-
from bevor_sdk.types.literals import
|
|
6
|
+
from bevor_sdk.types.literals import CodeVersionStatus
|
|
7
7
|
from bevor_sdk.types.requests import CodeListParams
|
|
8
8
|
from rich.table import Table
|
|
9
9
|
from rich.text import Text
|
|
@@ -17,8 +17,6 @@ from bevor_cli.configuration.creds import Credentials
|
|
|
17
17
|
from bevor_cli.configuration.state import State
|
|
18
18
|
from bevor_cli.output import console, print_json
|
|
19
19
|
|
|
20
|
-
type NetworkFilter = BlockchainNetwork | Literal["_UNSET_"]
|
|
21
|
-
|
|
22
20
|
|
|
23
21
|
def list_code_versions(
|
|
24
22
|
page: PAGE = None,
|
|
@@ -28,10 +26,7 @@ def list_code_versions(
|
|
|
28
26
|
project: Optional[str] = typer.Option(
|
|
29
27
|
None, "--project", help="Project to list for. Defaults to current configuration"
|
|
30
28
|
),
|
|
31
|
-
|
|
32
|
-
NetworkFilter | None,
|
|
33
|
-
literal_option(NetworkFilter, "--network", help="Blockchain network to filter by"),
|
|
34
|
-
] = None,
|
|
29
|
+
chain_id: Optional[int] = typer.Option(None, "--network", help="Blockchain network to filter by"),
|
|
35
30
|
identifier: Optional[str] = typer.Option(
|
|
36
31
|
None, "--identifier", help="Identifier (commit, hash, address) to filter by"
|
|
37
32
|
),
|
|
@@ -57,8 +52,8 @@ def list_code_versions(
|
|
|
57
52
|
query_params["order"] = order
|
|
58
53
|
if order_by is not None:
|
|
59
54
|
query_params["order_by"] = order_by
|
|
60
|
-
if
|
|
61
|
-
query_params["
|
|
55
|
+
if chain_id is not None:
|
|
56
|
+
query_params["chain_id"] = chain_id
|
|
62
57
|
if identifier is not None:
|
|
63
58
|
query_params["identifier"] = identifier
|
|
64
59
|
if status is not None:
|
|
@@ -58,8 +58,8 @@ def view_code(
|
|
|
58
58
|
table.add_row("In sync (cwd)", str(fingerprint == code.version_fingerprint))
|
|
59
59
|
table.add_row("Created", str(code.created_at.date()))
|
|
60
60
|
|
|
61
|
-
if code.
|
|
62
|
-
table.add_row("
|
|
61
|
+
if code.chain_id is not None:
|
|
62
|
+
table.add_row("Blockchain Chain ID", str(code.chain_id))
|
|
63
63
|
|
|
64
64
|
if code.branch:
|
|
65
65
|
table.add_row("Branch", code.branch)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "bevor-cli"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.0rc3"
|
|
4
4
|
description = "Bevor CLI tool for security analysis and graph inspection"
|
|
5
5
|
requires-python = ">=3.13"
|
|
6
6
|
dependencies = [
|
|
7
|
-
"bevor-sdk==0.2.
|
|
7
|
+
"bevor-sdk==0.2.0rc3",
|
|
8
8
|
"typer~=0.26",
|
|
9
9
|
"httpx~=0.28",
|
|
10
10
|
"pydantic~=2.12",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|