Skip to content

Subcommand with short code and no args does not work #16

@DannyBen

Description

@DannyBen

With this YAML file:

name: rush
help: Personal package manager
version: 0.1.0

commands:
- name: config
  short: c
  help: Show the configuration file

- name: get
  short: g
  help: Install a package

  args:
  - name: repo
    required: true
    help: Repository name
  - name: package
    required: true
    help: Package name

This does not work:

$ ./rush c

While this, works:

$ ./rush g

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions