Skip to content

CLI: Migrate from urfave/cli to spf13/cobra to resolve misc. known issues #253

Open
@jharveyb

Description

@jharveyb

The current library used to build the CLI has a few known issues:

Bad overflow handling (returns a 0 instead of an error) - lightningnetwork/lnd#7350 (comment)

Hard to prevent bool flags being misused, which causes assets to be minted with incorrect parameters, e.x. - #228

v2 of urfave/cli has the same issues as v1, which we currently use. https://cobra.dev/ is at least as well-supported / maintained, properly propogates numerical parsing errors, and has more features for validating input strings.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

💇‍♂️Needs Shaping

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions