Skip to content

doublezero link topology subcommands #3347

@ben-malbeclabs

Description

@ben-malbeclabs

Add doublezero link topology create, delete, clear, and list subcommands. list resolves pubkeys to names and warns if a topology appears disconnected (fewer links than required for a connected path).

doublezero link topology create --name <NAME> --constraint <include-any|exclude>
doublezero link topology delete --name <NAME>
doublezero link topology clear  --name <NAME>
doublezero link topology list

Milestone: RFC-18: CLI
RFC: #3288


Files affected:

  • smartcontract/cli/src/link/topology/ (new subcommand directory)

Size: Medium

Tests:

  • Create round-trip
  • List output format with resolved names and derived color
  • Clear sweep is idempotent
  • Delete blocked if links still reference topology

Blockers: #3344 (TopologyInfo account)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions