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

Subcommands in CLI don't report error (unknown command) #1616

Closed
Labels
apiArea: HTTP API
@mafredri

Description

@mafredri

Information

  • coder --version: Coder v0.5.11-devel+adb7d20c Fri May 20 04:07:23 UTC 2022adb7d20

Steps to Reproduce

  1. Runcoder hello
  2. Observe error
  3. Runcoder templates hello
  4. Observe no error

Expected

Runningcoder templates hello should printunknown command "hello" for "coder templates".

Actual

No error and--help is automatically shown.

Screenshot

image

Notes

I tried quickly looking into this and I can't figure out why it's behaving this way without spending more time on it. It works for the root command and the sub commands are not significantly different.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiArea: HTTP API

    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