mirror of
https://gitlab.com/EternalWanderer/sheet-parser.git
synced 2024-11-28 21:13:51 +01:00
Finetuning zsh completion trivia parameter
This commit is contained in:
parent
3fdb5f2591
commit
95b851d346
8
APKBUILD
8
APKBUILD
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Marty Sluijtman <marty.wanderer@disroot.org>
|
||||
pkgname=sheet-parser
|
||||
pkgver=0.2
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="A little D&D character sheet parser written in go"
|
||||
url="https://gitlab.com/EternalWanderer/sheet-parser"
|
||||
arch="all"
|
||||
|
@ -28,7 +28,7 @@ package() {
|
|||
}
|
||||
|
||||
sha512sums="
|
||||
35eec80feaa09c683759f996c8ad11f0c70a178fcae165a8921b58e4b3afbe8b6c92cc4000f084237cc1b80c6b7196035495227a6f689c081123159ea9c4ad62 sheet-parser-0.2.tar.gz
|
||||
c772f393191ebd3b68b0c08cc916b1605ce8bd7d7f458da58f00cfbb6120bebe7bc86d3b70a3f7bacc4eac05cfd33846fd7ec757c054018f25d629f88bd6fec0 zsh.completion
|
||||
7c1f79d8c4348a7928f81064f29fe52b8475a573e8a14d3d6bd448453b0501af60c03b43301b7049bcc249661e66213f3365ac8d34ca5c52be1cbbd7278c6f8c example.json
|
||||
64c3a8a7090b16cca527c20af0ff03eff0035bbc823292ccb1f223273ad785ccdf022fb3a3aa07d4f474987abf026a46075a2623db801dc0855805448c7b4514 sheet-parser-0.2.tar.gz
|
||||
eb93b5aaab730b3b2be2e2cca2bc0f27f336a7eca196ed86e0b4f82c49d5c0278c5a9d47de5c8e70fe3a59e9a88fcb3ce5f5c5ae22e886319c39fb721e0bc6b7 zsh.completion
|
||||
ab6b9e0f9b1532c0e14e8995c2c77851d449d019edd675c6c6474b8f230c3b9547c36ebc7eeb318f7ec2a695d07c009e3df35a9984fc4570d71181aa730d6852 example.json
|
||||
"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"level": 1,
|
||||
"name": "Bob",
|
||||
"race": "Human",
|
||||
"class": "Figher",
|
||||
"class": "Fighter",
|
||||
"background": "Generic"
|
||||
},
|
||||
"stats":[
|
||||
|
|
2
main.go
2
main.go
|
@ -115,7 +115,7 @@ func main() {
|
|||
} else {
|
||||
expertise = "Doesn't have expertise"
|
||||
}
|
||||
fmt.Printf("Skill: %s\t%s\t%s\tSkill modifier: %d\n", name, proficiency, expertise, localModifier)
|
||||
fmt.Printf("Skill: %s\tSkill modifier: %d\t%s\t%s\n", name, localModifier, proficiency, expertise)
|
||||
}
|
||||
|
||||
case stat_list:
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#compdef sheet-parser
|
||||
|
||||
arguments=(
|
||||
'(--trivia -t)--trivia[Print character trivia]'
|
||||
'(--trivia -t)-t[Print character trivia]'
|
||||
'(--advantage --disadvantage --skill --save --stat --skill-list --stat-list -v --verbose --trivia -t)--trivia[Print character trivia]'
|
||||
'(--advantage --disadvantage --skill --save --stat --skill-list --stat-list -v --verbose --trivia -t)-t[Print character trivia]'
|
||||
'(--file)-f=[Path to charactersheet]:character sheet:_files -g "*.(json)(-.)"'
|
||||
'(-f)--file=[Path to charactersheet]:character sheet:_files -g "*.(json)(-.)"'
|
||||
'(--save --stat --verbose)-v[To be used in conjuction with list parameters]'
|
||||
|
|
Loading…
Reference in a new issue