8000 Create a command line application package to replace cobra · Issue #117 · dyweb/gommon · GitHub
[go: up one dir, main page]

Skip to content

Create a command line application package to replace cobra #117

Open

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

Activity

  1. self-assigned this
    on May 18, 2019
  2. at15 commented on Jan 1, 2020

    @at15
    MemberAuthor

    btw: @arrowrowe any idea for the name (我要开坑了 严肃脸

  3. at15 commented on Jan 19, 2020

    @at15
    MemberAuthor

    will just call it dcli for now

  4. added this to the 0.0.14 milestone on Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0