forked from EvergreenCrypto/docker-finance
container: src: lib_hledger: pass hledger-{ui,web} args
These are currently within the subscript but should be a part of the baseline command.
This commit is contained in:
@@ -177,7 +177,7 @@ function lib_hledger::__hledger-ui()
|
||||
{
|
||||
[ -z "${global_base_args[*]}" ] && lib_utils::die_fatal
|
||||
|
||||
hledger-ui "${global_base_args[@]}" "$@"
|
||||
hledger-ui "${global_base_args[@]}" -w "$@"
|
||||
}
|
||||
|
||||
function lib_hledger::__hledger-vui()
|
||||
@@ -192,7 +192,8 @@ function lib_hledger::__hledger-web()
|
||||
{
|
||||
[ -z "${global_base_args[*]}" ] && lib_utils::die_fatal
|
||||
|
||||
hledger-web "${global_base_args[@]}" "$@"
|
||||
hledger-web "${global_base_args[@]}" \
|
||||
--serve --host=0.0.0.0 --base-url http://127.0.0.1:5000 --allow=view "$@"
|
||||
}
|
||||
|
||||
# vim: sw=2 sts=2 si ai et
|
||||
|
||||
Reference in New Issue
Block a user