Fix subcommand selection..
..by sorting the list of subcommand function names in descending order of how many '_' are in them. This means that `abra app <app> version` will always be matched before `abra version`. Ref #108
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
# abra x.x.x (UNRELEASED)
|
||||
|
||||
- Search for subcommands in descending order of how many components there are ([#108](https://git.autonomic.zone/coop-cloud/abra/issues/108))
|
||||
|
||||
# abra 0.6.0 (2021-03-17)
|
||||
|
||||
- Show version and digest of app if labelled ([98e674b8e8](https://git.autonomic.zone/coop-cloud/abra/commit/98e674b8e83458a83dcbf331e8e34c7188559c4a))
|
||||
|
Reference in New Issue
Block a user