container: remove ledger in place of hledger
As said before; `lib_ledger` was meant to be a general abstraction to any underlying CLI ledger. But, between C++ `ledger` and Ledger Hardware Wallet, this abstraction has become too confusing and counterproductive. Since `hledger` will be the underlying implementation for the forseeable future, all doubt should now be removed.
This commit is contained in:
@@ -85,7 +85,7 @@ function lib_finance::finance()
|
||||
# Implementation "libraries" (requires previously set globals)
|
||||
source "${DOCKER_FINANCE_CONTAINER_REPO}/src/finance/lib/internal/lib_edit.bash" || exit 1
|
||||
source "${DOCKER_FINANCE_CONTAINER_REPO}/src/finance/lib/internal/lib_fetch.bash" || exit 1
|
||||
source "${DOCKER_FINANCE_CONTAINER_REPO}/src/finance/lib/internal/lib_ledger.bash" || exit 1
|
||||
source "${DOCKER_FINANCE_CONTAINER_REPO}/src/finance/lib/internal/lib_hledger.bash" || exit 1
|
||||
source "${DOCKER_FINANCE_CONTAINER_REPO}/src/finance/lib/internal/lib_meta.bash" || exit 1
|
||||
source "${DOCKER_FINANCE_CONTAINER_REPO}/src/finance/lib/internal/lib_plugins.bash" || exit 1
|
||||
source "${DOCKER_FINANCE_CONTAINER_REPO}/src/finance/lib/internal/lib_reports.bash" || exit 1
|
||||
@@ -173,31 +173,31 @@ function lib_finance::fetch()
|
||||
|
||||
function lib_finance::import()
|
||||
{
|
||||
lib_ledger::ledger-import "$@"
|
||||
lib_hledger::hledger-import "$@"
|
||||
lib_utils::catch $?
|
||||
}
|
||||
|
||||
function lib_finance::ledger()
|
||||
function lib_finance::hledger()
|
||||
{
|
||||
lib_ledger::ledger-cli "$@"
|
||||
lib_hledger::hledger-cli "$@"
|
||||
lib_utils::catch $?
|
||||
}
|
||||
|
||||
function lib_finance::ledger-ui()
|
||||
function lib_finance::hledger-ui()
|
||||
{
|
||||
lib_ledger::ledger-ui "$@"
|
||||
lib_hledger::hledger-ui "$@"
|
||||
lib_utils::catch $?
|
||||
}
|
||||
|
||||
function lib_finance::ledger-vui()
|
||||
function lib_finance::hledger-vui()
|
||||
{
|
||||
lib_ledger::ledger-vui "$@"
|
||||
lib_hledger::hledger-vui "$@"
|
||||
lib_utils::catch $?
|
||||
}
|
||||
|
||||
function lib_finance::ledger-web()
|
||||
function lib_finance::hledger-web()
|
||||
{
|
||||
lib_ledger::ledger-web "$@"
|
||||
lib_hledger::hledger-web "$@"
|
||||
lib_utils::catch $?
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user