+
Skip to content

Create a command line application package to replace cobra #117

Open
@at15

Description

@at15

Cobra is a package from building cli, its recent release 0.0.4 introduced viper as its dependency and dragged in etcd due to its remote config, so it's time to move away from cobra (can still use spf13/pflags). This makes gommon more self contained (and allow us to reinvent another wheel)

TODO

  • chose a package name cc @arrowrowe @gaocegege
  • check if I can put a go.mod for cmd/gommon and void the top level go.mod to have spf13/cobra
  • required features
    • more flexible command definition, i.e. allow using interface instead of its own struct
    • interactive repl
  • survey

Ref

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载