Skip to content

feature: add export / import commands to update the config peer's list #246

@cdxker

Description

@cdxker

Description

Add CLI commands to export and import user configurations between peers.

Export command:

cli export -o alice.yaml

Generated file format:

threshold:
   t: 5
   n: 3
ip: <system-ipv4>
pubkey: <config-b58-public-key>

Import command:

cli import bob.yaml

Updates the user's config.yaml file with imported settings.

Acceptance Criteria

  • Implement export command
  • Implement import command
    • import should error if the threshold values do not match

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions