Compare commits
5 Commits
c1a5eed2ef
...
594ca7efbf
| Author | SHA1 | Date | |
|---|---|---|---|
|
594ca7efbf
|
|||
|
709e7ba55d
|
|||
|
899983545c
|
|||
|
6d736c4c4d
|
|||
|
ac74afb299
|
@@ -122,10 +122,10 @@ function lib_gen::__parse_args()
|
||||
\e[37;2m#\e[0m
|
||||
|
||||
\e[37;2m# Generate all client related and all flow related for profile/subprofile called 'parent/child'\e[0m
|
||||
$ $global_usage type${global_arg_delim_2}env${global_arg_delim_3}build${global_arg_delim_3}superscript${global_arg_delim_3}flow profile${global_arg_delim_2}parent${global_arg_delim_1}child
|
||||
$ $global_usage type${global_arg_delim_2}env${global_arg_delim_3}build${global_arg_delim_3}compose${global_arg_delim_3}superscript${global_arg_delim_3}flow profile${global_arg_delim_2}parent${global_arg_delim_1}child
|
||||
|
||||
\e[37;2m# Same command as above but without confirmations and with developer mockups\e[0m
|
||||
$ $global_usage type${global_arg_delim_2}env${global_arg_delim_3}build${global_arg_delim_3}superscript${global_arg_delim_3}flow profile${global_arg_delim_2}parent${global_arg_delim_1}child confirm${global_arg_delim_2}false dev${global_arg_delim_2}true
|
||||
$ $global_usage type${global_arg_delim_2}env${global_arg_delim_3}build${global_arg_delim_3}compose${global_arg_delim_3}superscript${global_arg_delim_3}flow profile${global_arg_delim_2}parent${global_arg_delim_1}child confirm${global_arg_delim_2}false dev${global_arg_delim_2}true
|
||||
|
||||
\e[37;2m# Generate only the given configurations for 'parent/child'\e[0m
|
||||
$ $global_usage type${global_arg_delim_2}flow profile${global_arg_delim_2}parent${global_arg_delim_1}child config${global_arg_delim_2}fetch${global_arg_delim_3}hledger${global_arg_delim_3}meta${global_arg_delim_3}subscript
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
// docker-finance | modern accounting for the power-user
|
||||
//
|
||||
// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC)
|
||||
// Copyright (C) 2021-2026 Aaron Fiore (Founder, Evergreen Crypto LLC)
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
@@ -77,9 +77,11 @@ namespace dfi\blockchains
|
||||
$metadata->set_year($this->get_env()->get_env('API_FETCH_YEAR'));
|
||||
|
||||
// Reconstruct subaccount directory for out directory
|
||||
// API_OUT_DIR format: hledger-flow/profiles/parent_profile/child_profile/import/child_profile/account/subaccount/1-in/year
|
||||
// API_OUT_DIR format: flow/profiles/parent_profile/child_profile/import/child_profile/account/subaccount/1-in/year
|
||||
$path = explode('/', $this->get_env()->get_env('API_OUT_DIR'));
|
||||
$path = array_filter($path, function ($element) { return $element !== '';}); // Clear out extra / that get turned into nulls
|
||||
$path = array_filter($path, function ($element) {
|
||||
return $element !== '';
|
||||
}); // Clear out extra '/' that get turned into nulls
|
||||
$head_end = $path;
|
||||
$tail_end = $path;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user