Commit Graph

265 Commits

Author SHA1 Message Date
4302ac2bb5 client: docker.bash: set xtrace if debug enabled 2024-08-14 19:40:55 -07:00
36d83025a4 Merge pull request #115 into master
bf1d9dd container: completion: add `hledger-vui` (Aaron Fiore)
550110f container: finance.bash: add `hledger-vui` to usage help (Aaron Fiore)
fcc0b95 client: docker-finance.d: subprofile: clarify `hledger` (Aaron Fiore)
7e75bb5 container: completion: add `hledger` family (Aaron Fiore)
d06c894 container: finance.bash: clarify `hledger` (not `ledger`) (Aaron Fiore)
2024-08-14 19:38:41 -07:00
bf1d9dd212 container: completion: add hledger-vui
The custom visidata UI (not `hledger-ui`).
2024-08-14 19:36:53 -07:00
550110ffd1 container: finance.bash: add hledger-vui to usage help
The custom visidata UI (not `hledger-ui`).
2024-08-14 19:36:53 -07:00
fcc0b95061 client: docker-finance.d: subprofile: clarify hledger
Since inception, the intent was to abstract the "interface" to allow for
a general-purpose CLI accounting ledger. However, there appears to be
confusion about whether the underlying implementation is `ledger`
accounting software or `hledger` accounting software.

So, making it clearer that it's `hledger` accounting software (although,
will continue to keep the `ledger` command for backwards-compatibility).
2024-08-14 19:36:53 -07:00
7e75bb542b container: completion: add hledger family
Since inception, the intent was to abstract the "interface" to allow for
a general-purpose CLI accounting ledger. However, there appears to be
confusion about whether the underlying implementation is `ledger`
accounting software or `hledger` accounting software.

So, making it clearer that it's `hledger` accounting software (although,
will continue to keep the `ledger` command for backwards-compatibility).
2024-08-14 19:36:53 -07:00
d06c894acb container: finance.bash: clarify hledger (not ledger)
Since inception, the intent was to abstract the "interface" to allow for
a general-purpose CLI accounting ledger. However, there appears to be
confusion about whether the underlying implementation is `ledger`
accounting software or `hledger` accounting software.

So, making it clearer that it's `hledger` accounting software (although,
will continue to keep the `ledger` command for backwards-compatibility).
2024-08-14 19:36:52 -07:00
255d95227f Merge pull request #114 into master
5da89e1 client: docker-finance.d: env: change default $DOCKER_FINANCE_*_FLOW (Aaron Fiore)
2024-08-14 19:35:01 -07:00
5da89e19fb client: docker-finance.d: env: change default $DOCKER_FINANCE_*_FLOW
The previous 'hledger-flow' directory was originally dedicated to
hledger-flow data. The directory has now expanded into a full-fledged
bind-mounted volume for all end-user flow / `finance`-generated data.

Ergo, 'finance-flow' is now more appropriate.
2024-08-14 19:31:31 -07:00
f24d23731d Merge pull request #113 into master
ed68a87 client: Doxygen: change 'modules' to 'topics' (Aaron Fiore)
03d7234 client: Doxygen: bump Doxyfile to 1.9.8 (Aaron Fiore)
2024-08-14 19:29:57 -07:00
ed68a87283 client: Doxygen: change 'modules' to 'topics'
Renamed to 'topics' in light of Doxygen 1.9.8's C++20 modules support.
2024-08-14 19:28:05 -07:00
03d7234fd4 client: Doxygen: bump Doxyfile to 1.9.8 2024-08-14 19:28:05 -07:00
290c32e515 Merge pull request #112 into master
83e5622 client: completion: complete docker images by $USER (Aaron Fiore)
e7725b7 client: completion: fix/optimize docker images (Aaron Fiore)
2024-08-14 19:26:12 -07:00
83e5622451 client: completion: complete docker images by $USER
Simplifies completion on multi-user systems.
2024-08-12 19:58:13 -07:00
e7725b72fd client: completion: fix/optimize docker images
- Reduces overhead, catches all docker-finance images
- Previously wouldn't catch all space between image name and tag
2024-08-12 19:58:06 -07:00
0c7aaf8cc5 Merge pull request #111 into master
673e585 README: add `plugins` documentation (Aaron Fiore)
eb2e17f client: lib_linter: add more C++ extensions (Aaron Fiore)
f14adfe container: root: move clang-format to container base path (Aaron Fiore)
7cf129f client: Doxygen: add cpp_plugins group (Aaron Fiore)
6e250c7 container: root: add plugins support (Aaron Fiore)
f967fae container: plugins: root: add examples (Aaron Fiore)
082b946 client: docker-finance.d: add `plugins` support (Aaron Fiore)
682fbe2 client: completion: add `plugins` support (Aaron Fiore)
52c958b client: lib_docker: refactor for library support (`plugins`) (Aaron Fiore)
9c181b7 client: add `plugins` feature (Aaron Fiore)
720eec8 client: add lib_plugins (Aaron Fiore)
bbb5d7c client: Dockerfiles: add `plugins` env to docker-compose (Aaron Fiore)
59272e8 container: completion: add `plugins` arg type support (Aaron Fiore)
a1d0201 container: lib_plugins: add `plugins` type support (Aaron Fiore)
8a6ea47 client: plugins: docker: add example (Aaron Fiore)
01737d3 client: lib_gen: new custom plugin layout, update example plugin (Aaron Fiore)
2024-08-12 19:11:48 -07:00
673e585cda README: add plugins documentation 2024-08-12 18:59:51 -07:00
eb2e17fe2d client: lib_linter: add more C++ extensions
Needed for linting `root` C++ plugins.
2024-08-12 18:59:51 -07:00
f14adfea35 container: root: move clang-format to container base path
File needs to be in parent directory of all C++ source files.
2024-08-12 18:59:51 -07:00
7cf129f607 client: Doxygen: add cpp_plugins group 2024-08-12 18:59:51 -07:00
6e250c7282 container: root: add plugins support
- Implements support for docker-finance C++ plugins
- Adds shell command execution wrapper
- Refactors previous loader path
  * A './' path is unnecessary and will break calls to '/' path
2024-08-12 18:59:51 -07:00
f967faeb8a container: plugins: root: add examples 2024-08-12 18:59:51 -07:00
082b946956 client: docker-finance.d: add plugins support 2024-08-12 18:36:27 -07:00
682fbe2f03 client: completion: add plugins support 2024-08-12 18:36:27 -07:00
52c958b927 client: lib_docker: refactor for library support (plugins)
- Exports globals to caller for "library" support (export to `plugins`, etc.)

- Removes enforcement of initializing "constructor" with 2nd arg (`command`)
  * Arg not needed since external/internal checks already in place
  * Context specific: if needed, caller should always check if set
  * Removal needed so library can be used within a library context

- `basename` fix to allow for bash completion
2024-08-12 18:36:26 -07:00
9c181b75a1 client: add plugins feature 2024-08-12 18:36:26 -07:00
720eec8a14 client: add lib_plugins
- Allows client-side execution of repo/custom client plugins
- A client-side equivalent of container's lib_plugins
2024-08-12 18:36:26 -07:00
bbb5d7c238 client: Dockerfiles: add plugins env to docker-compose 2024-08-12 18:36:26 -07:00
59272e8df7 container: completion: add plugins arg type support 2024-08-12 18:36:26 -07:00
a1d02016f3 container: lib_plugins: add plugins type support
- Adds plugin type support
  * Adds pseudo-paths to help usage
  * Adds arg parsing of given plugin name
    - Prepended pseudo-paths will use repo or custom plugin
2024-08-12 18:36:26 -07:00
8a6ea479e2 client: plugins: docker: add example 2024-08-12 18:36:26 -07:00
01737d37bf client: lib_gen: new custom plugin layout, update example plugin
- Generates new custom plugin directory layout upon `gen`
  * Allows for drop-in client-side/container-side custom plugins

- Moved container plugin example into container's plugins
  * Plugin is no longer generated upon `gen` (it's available in-repo)

- Updates plugin example
    - Provides requisite lib_finance initialization
    - Refactored, added more checks
    - Expand example case
    - Linter fixes
2024-08-12 18:30:45 -07:00
acbe690de3 Merge pull request #110 into master
5ef5d24 container: bash: completion: add `times` (Aaron Fiore)
5eac855 container: bash: add `times` / lib_times (Aaron Fiore)
923a9ee client: lib_gen: generate 'times' (Aaron Fiore)
6da9b71 client: manifest: add timew package (Aaron Fiore)
e50f4b6 client: Dockerfiles: add timew package (Aaron Fiore)
2024-08-09 18:17:54 -07:00
5ef5d24f3b container: bash: completion: add times 2024-08-09 18:03:31 -07:00
5eac855acf container: bash: add times / lib_times 2024-08-09 18:03:31 -07:00
923a9eee24 client: lib_gen: generate 'times'
- Sets a location for:
  * timew database
  * Anything time-related (among all profiles)
2024-08-09 00:01:48 -07:00
6da9b71030 client: manifest: add timew package 2024-08-09 00:01:46 -07:00
e50f4b62cb client: Dockerfiles: add timew package 2024-08-09 00:01:40 -07:00
dbfe038bf5 Merge pull request #109 into master
bbf96b0 container: bash: completion: add plugins support (Aaron Fiore)
a4f9b40 container: bash: add plugins support / lib_plugins (Aaron Fiore)
eaec539 client: lib_gen: generate plugins (Aaron Fiore)
2024-08-08 16:24:11 -07:00
bbf96b0cc2 container: bash: completion: add plugins support 2024-08-08 16:08:54 -07:00
a4f9b401d3 container: bash: add plugins support / lib_plugins
- Executes plugins within profile/subprofile context
  * Hooks into the container's global environment
2024-08-08 16:08:49 -07:00
eaec539c22 client: lib_gen: generate plugins
- Sets a location for plugins
  * Allows for end-user custom plugins
- Provides default example plugin
2024-08-08 16:00:03 -07:00
7b4648b1d4 Merge pull request #108 into master
be6e366 client: lib_gen: fix missing copy of custom Dockerfile (Aaron Fiore)
b30c00f client: lib_gen: refactor flow generation (Aaron Fiore)
2024-08-07 21:36:15 -07:00
be6e366d80 client: lib_gen: fix missing copy of custom Dockerfile
Existing file was backed up but repo default was not copied over.
2024-08-07 21:33:21 -07:00
b30c00f3b6 client: lib_gen: refactor flow generation
- Checks for/creates established layout
- Refactor subprofile function names
- Clarifies questions/documentation
2024-08-07 21:33:21 -07:00
9112902a3d Merge pull request #107 into master
b034674 client: superscript: remove share.d from $PATH (Aaron Fiore)
2024-08-07 21:14:50 -07:00
b034674ff2 client: superscript: remove share.d from $PATH
Executables in share.d should be explicitly called, for better security.
2024-08-07 21:13:36 -07:00
4eef6a01ef Merge pull request #106 into master
546f5b5 client: docker.bash: fix usage typo (Aaron Fiore)
2024-08-07 21:11:49 -07:00
546f5b528a client: docker.bash: fix usage typo 2024-08-07 19:52:26 -07:00
cb578a2aca Merge pull request #105 into master
a817901 container: add `dfi` alias (Aaron Fiore)
0db5566 client: add `dfi` alias (Aaron Fiore)
3230a5b README: add `dfi` alias (Aaron Fiore)
2024-08-06 02:20:35 -07:00