Commit Graph

18 Commits

Author SHA1 Message Date
6e7fee92f3 container: plugins: root: example: rename Example class
For clarity that this class is separate from plugin's entrypoint.
2026-01-09 15:38:13 -08:00
abc08d4bc1 container: plugins: root: mark Pluggable entrypoints as final 2026-01-09 15:36:10 -08:00
1adb305417 container: plugins: root: bitcoin: support Pluggable entrypoint 2026-01-08 15:59:49 -08:00
31054b86ea container: plugins: root: example: support Pluggable entrypoint 2026-01-08 15:59:49 -08:00
8d6a796022 container: plugins: root: add bitcoin plugin
Utilizes `libbitcoinkernel` for symbols and headers but also pulls from
non-kernel headers as needed (since current kernel design is a WIP).

See the code documentation in this commit for details.
2025-12-18 16:20:38 -08:00
a609e4d936 container: plugins: root: update example plugin
`dfi` API headers must be managed on an as-needed basis.
2025-12-17 17:04:41 -08:00
29574ca74d container: plugins: root: rewrite example plugin
- Reorganizes to utilize new pluggable framework
- Refactors, adds/updates documentation
2025-12-16 17:13:06 -08:00
7ca01776fc container: root: refactor using common utility 2025-12-09 15:09:51 -08:00
9faebb6cea container: plugins: root: fix example3()'s usage of throw handler
The old macros should *not* have been used in any example; as they
were intended for internal use only.

This was noted in Doxygen ...by not noting them as publicly consumable.
2025-11-21 11:15:58 -08:00
9735317ae8 container: plugins: root: fix example3()'s shell
The spawned shell needs its sourced environment and aliases.

Resolves:

  sh: line 1: dfi: command not found
  Error in <TRint::HandleTermInput()>: std::runtime_error caught:
          FILE = "/home/business/docker-finance/plugins/root/example.cc"
          LINE = 125
          WHAT = "command failed"
2025-10-22 16:01:05 -07:00
1ce08021f8 container: c++: dfi namespace refactor
Align with project alias, save the eyes and hands.
2025-08-19 13:54:18 -07:00
ea392ec360 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.
2024-09-23 18:09:40 -07:00
52270ba0b3 container: rename $global_conf_shell -> $global_conf_subscript
Provides clarity, avoids confusion.
2024-09-23 17:31:11 -07:00
3be93d8e97 container: plugins: finance: timew_to_timeclock: print all tags 2024-08-29 16:45:09 -07:00
a0c257d3b0 container: plugins: implement 'timew_to_timeclock' plugin
- Converts exported `times` into hledger timeclock format
  * Exported format is underlying `timew` JSON schema
2024-08-19 15:43:10 -07:00
6aadc6f769 container: plugins: refactor example plugin
- Refactor instance
- Refactor main()
2024-08-17 23:25:50 -07:00
f967faeb8a container: plugins: root: add examples 2024-08-12 18:59:51 -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