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:
--pageintegerPage number to use for resource that supports pagination
--page-sizeintegerPage size to use for resource that supports pagination
--orderdesc | ascHow to order results when a resource supports pagination
--order-bycreated_at | updated_atWhat field to order results by when a resource supports pagination
--projecttextProject to list for. Defaults to current configuration
--networkintegerBlockchain network to filter by
--identifiertextIdentifier (commit, hash, address) to filter by
--statusqueued | processing | failed | successCode status to filter by
--jsonflagJSON output
view
Print details for a code version, or the selected one.
bevor codes view [code_id] [OPTIONS]Arguments:
code_idtextCode version id. Defaults to the selected code version.
Options:
--jsonflagJSON 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_idtextCode 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:
--pathpathSource tree root (default: cwd).
--no-waitflagReturn immediately without waiting for the event stream to complete.
--yesflagSkip 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:
--codetextCode id to list for (defaults to current configuration)
--entrypointsflagOnly show auditable entry-point functions.
--filetextFilter to nodes in this file.
--no-depsflagFilter to nodes under this directory prefix.
--nametextFilter to nodes by name
--node-typetextFilter to nodes by type
--jsonflagJSON output
view
Get the details of a node. Uses the selected code version, or --code.
bevor codes nodes view <node_id> [OPTIONS]Arguments:
node_idtextrequiredNode short id (or full wire id).
Options:
--codetextCode id to list for (defaults to current configuration)
--jsonflagJSON 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_idtextrequiredNode short id (or full wire id).
Options:
--codetextCode 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_idtextrequiredNode short id or full wire id.
Options:
--codetextCode 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_conditionEdge 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_conditionEdge type (e.g. calls, defines).
--jsonflagJSON 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_idtextrequiredNode id
Options:
--codetextCode id to list for (defaults to current configuration)
--jsonflagJSON 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_idtextrequiredNode to start from (short id or full id).
Options:
--codetextCode id to list for (defaults to current configuration)

