Help generation logic broken for app restart command #201

Closed
opened 2021-07-06 09:27:05 +00:00 by decentral1se · 2 comments
Owner

I've not much clue how to fix this so throwing out a ticket: abra <app> restart <service> makes --help not work but abra <app> restart [<service>] makes --help work! Any ideas @3wordchant?

I've not much clue how to fix this so throwing out a ticket: `abra <app> restart <service>` makes `--help` not work but `abra <app> restart [<service>]` makes `--help` work! Any ideas @3wordchant?
decentral1se added this to the Beta release milestone 2021-07-06 09:27:05 +00:00
decentral1se added the
bug
label 2021-07-06 09:27:05 +00:00
Owner

Seems to be working for me? 🤔

$ abra app traefik_demo restart app --help
abra [options] app <app> restart <service>

Restart a service.

EXAMPLES
  abra app peertube restart app

POWERED BY
  docker service scale foo=bar

NB due to Docopt.sh (or maybe just my limited understanding of it...), like all the other commands, you gotta provide all required arguments even to run --help, which isn't ideal.

Seems to be working for me? 🤔 ``` $ abra app traefik_demo restart app --help abra [options] app <app> restart <service> Restart a service. EXAMPLES abra app peertube restart app POWERED BY docker service scale foo=bar ``` NB due to Docopt.sh (or maybe just my limited understanding of it...), like all the other commands, you gotta provide all required arguments even to run `--help`, which isn't ideal.
Author
Owner

Ahhhhh, I got it, thanks! Sorry for the noise.

Ahhhhh, I got it, thanks! Sorry for the noise.
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/abra#201
No description provided.