parent
7b4ed1f7d1
commit
82d99a485c
3 changed files with 7 additions and 3 deletions
|
@ -57,6 +57,7 @@ x -> y -> z
|
||||||
- pad
|
- pad
|
||||||
- sketch
|
- sketch
|
||||||
- force-appendix
|
- force-appendix
|
||||||
|
- center
|
||||||
|
|
||||||
# Limitation
|
# Limitation
|
||||||
|
|
||||||
|
|
|
@ -71,10 +71,10 @@
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1679320645,
|
"lastModified": 1679320952,
|
||||||
"narHash": "sha256-sctCiWAvsKAoLGd11toK+Paj3EhJnIs+pjeTHmlFW4w=",
|
"narHash": "sha256-L7x8BwHWGFILwvXTluKJkfkSYZQxPbSXrzDc/HC80Oc=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "87a7e67b8339f85723e8ebdbab2050b2e727b36a",
|
"rev": "88e2a5beb95722b454f081e5b766eef8f908eeb3",
|
||||||
"revCount": 30,
|
"revCount": 30,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.pleshevski.ru/mynix/tools"
|
"url": "https://git.pleshevski.ru/mynix/tools"
|
||||||
|
|
3
wd2
3
wd2
|
@ -23,6 +23,7 @@ cli and overwrite cli parameters with the same name.
|
||||||
- pad
|
- pad
|
||||||
- sketch
|
- sketch
|
||||||
- force-appendix
|
- force-appendix
|
||||||
|
- center
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -80,6 +81,7 @@ d2_pad=$(get_attr_value "pad")
|
||||||
d2_sketch=$(get_attr_value "sketch")
|
d2_sketch=$(get_attr_value "sketch")
|
||||||
d2_port=$(get_attr_value "port")
|
d2_port=$(get_attr_value "port")
|
||||||
d2_force_appendix=$(get_attr_value "force-appendix")
|
d2_force_appendix=$(get_attr_value "force-appendix")
|
||||||
|
d2_center=$(get_attr_value "center")
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
d2 "${d2_args[@]}" \
|
d2 "${d2_args[@]}" \
|
||||||
|
@ -90,4 +92,5 @@ d2 "${d2_args[@]}" \
|
||||||
${d2_sketch:+--sketch=${d2_sketch}} \
|
${d2_sketch:+--sketch=${d2_sketch}} \
|
||||||
${d2_port:+--port=${d2_port}} \
|
${d2_port:+--port=${d2_port}} \
|
||||||
${d2_force_appendix:+--force-appendix=${d2_force_appendix}}
|
${d2_force_appendix:+--force-appendix=${d2_force_appendix}}
|
||||||
|
${d2_center:+--center=${d2_center}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue