codes

Upload, list, and inspect code versions in the selected project.

list

List code versions in the selected project (or --project). The selected one is marked.

bevor codes list [OPTIONS]

Options:

--pageinteger

Page number to use for resource that supports pagination

--page-sizeinteger

Page size to use for resource that supports pagination

--orderdesc | asc

How to order results when a resource supports pagination

--order-bycreated_at | updated_at

What field to order results by when a resource supports pagination

--projecttext

Project to list for. Defaults to current configuration

--networkinteger

Blockchain network to filter by

--identifiertext

Identifier (commit, hash, address) to filter by

--statusqueued | processing | failed | success

Code status to filter by

--jsonflag

JSON output

view

Print details for a code version, or the selected one.

bevor codes view [code_id] [OPTIONS]

Arguments:

code_idtext

Code version id. Defaults to the selected code version.

Options:

--jsonflag

JSON output

select

Select a code version in the selected project by id, or pick one from a list.

bevor codes select [code_id]

Arguments:

code_idtext

Code version id to select. Prompts with a list when omitted.

push

Upload the working directory as a new code version and select it. Does nothing if it hasn't changed since the last push.

bevor codes push [OPTIONS]

Options:

--pathpath

Source tree root (default: cwd).

--no-waitflag

Return immediately without waiting for the event stream to complete.

--yesflag

Skip confirmation of action.

nodes

Inspect the code graph.

list

List all nodes. Uses the selected code version, or --code.

bevor codes nodes list [OPTIONS]

Options:

--codetext

Code id to list for (defaults to current configuration)

--entrypointsflag

Only show auditable entry-point functions.

--filetext

Filter to nodes in this file.

--no-depsflag

Filter to nodes under this directory prefix.

--nametext

Filter to nodes by name

--node-typetext

Filter to nodes by type

--jsonflag

JSON output

view

Get the details of a node. Uses the selected code version, or --code.

bevor codes nodes view <node_id> [OPTIONS]

Arguments:

node_idtextrequired

Node short id (or full wire id).

Options:

--codetext

Code id to list for (defaults to current configuration)

--jsonflag

JSON output

content

Show the source code of a node. Uses the selected code version, or --code.

bevor codes nodes content <node_id> [OPTIONS]

Arguments:

node_idtextrequired

Node short id (or full wire id).

Options:

--codetext

Code id to list for (defaults to current configuration)

edges

List the edges for a given node. Uses the selected code version, or --code.

bevor codes nodes edges <node_id> [OPTIONS]

Arguments:

node_idtextrequired

Node short id or full wire id.

Options:

--codetext

Code id to list for (defaults to current configuration)

--directionuses | typed_as | modified_by | calls | calls_external | reads | writes | inherits | overrides | emits | throws | defines | initializes | instantiates | accesses | has_constraint | has_attribute | implements | extends | has_ref_comment | has_condition

Edge direction filter: in, out.

--typeuses | typed_as | modified_by | calls | calls_external | reads | writes | inherits | overrides | emits | throws | defines | initializes | instantiates | accesses | has_constraint | has_attribute | implements | extends | has_ref_comment | has_condition

Edge type (e.g. calls, defines).

--jsonflag

JSON output

call-chain

Get the call chain for a given node. Uses the selected code version, or --code.

bevor codes nodes call-chain <node_id> [OPTIONS]

Arguments:

node_idtextrequired

Node id

Options:

--codetext

Code id to list for (defaults to current configuration)

--jsonflag

JSON output

interactive

Explore the graph from a node: get, source, optional call-chain (callable nodes only), and edges. Uses the selected code version, or --code.

bevor codes nodes interactive <node_id> [OPTIONS]

Arguments:

node_idtextrequired

Node to start from (short id or full id).

Options:

--codetext

Code id to list for (defaults to current configuration)

On this page