Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
/coder-v1-cliPublic archive
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Migrate to urfave/cli #85

Closed
Closed
Assignees
cmoog
Labels
enhancementNew feature or request
@cmoog

Description

@cmoog

Althoughhttps://github.com/cdr/cli offers a minimal wrapper, it's becoming clear that it lacks sufficient features for the growing scope ofcoder-cli. I propose we migrate tohttps://github.com/spf13/cobrahttps://github.com/urfave/cli. Consider a few advantages that we'll gain "out of the box".

  • Suggestions when "unknown command" happens
  • bash, zsh, fish, and powershell completion generation
  • well designed and standard command validation abstractions
  • better persistent flag abstractions
  • no more interface upgrading nonsense
  • the model of a separate type per command is flawed and, given the lack of generics, is very difficult to abstract

Any thoughts / objections? cc@scsmithr@nhooyr@ammario

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp