File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ Print a popular decklist:
38
38
``` console
39
39
$ mcdbcli -l 13922
40
40
Wild Tutor - Adam Warlock
41
- Hero cards
41
+ Adam Warlock cards
42
42
1 × Pip the Troll (Wave #4 The Mad Titan's Shadow #32)
43
43
1 × Soul World (Wave #4 The Mad Titan's Shadow #33)
44
44
1 × Karmic Staff (Wave #4 The Mad Titan's Shadow #34)
@@ -118,7 +118,7 @@ Wave #3
118
118
1 × Deft Focus (Wave #3 Galaxy's Most Wanted #24)
119
119
1 × Gamora (Wave #3 Drax #20)
120
120
Wave #4
121
- Hero cards
121
+ Adam Warlock cards
122
122
1 × Pip the Troll (Wave #4 The Mad Titan's Shadow #32)
123
123
1 × Soul World (Wave #4 The Mad Titan's Shadow #33)
124
124
1 × Karmic Staff (Wave #4 The Mad Titan's Shadow #34)
Original file line number Diff line number Diff line change @@ -116,7 +116,8 @@ print_faction_heading() {
116
116
printf ' Basic cards'
117
117
;;
118
118
' hero' )
119
- printf ' Hero cards'
119
+ local hero_name=$( jq -r ' .investigator_name' <<< " $DECK_JSON" )
120
+ printf ' %s cards' " $hero_name "
120
121
;;
121
122
esac
122
123
You can’t perform that action at this time.
0 commit comments