Skip to content

pinoccio cmd should accept troop names #15

Open
@matthijskooijman

Description

@matthijskooijman

The pinoccio cmd command currently seems to require using troop and scout ids. There seems to be a few issues here:

  • I'd like to use the troop and scout names in addition to their ids
  • When I use the names (or a non-existing troop), the error message is confusing: {"error":"could not find token for troop 999"}. Instead of suggesting that the troop is unknown, this prompted me to double-check the authentication, see if I had forgotten to manually create a token of some sort, etc.
  • Scout ids (and often also scout names) are, I think, unique among troops, right? If so, there is really no need to specify the troop name or id - that can be deduced from the scout's info?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions