Skip to content

Conversation

@gcaracuel
Copy link
Contributor

@gcaracuel gcaracuel commented Mar 19, 2025

Adds ability to global flags to de config using ENV variables.
This is useful when running litcli in containers.

More context at this very same change applied over lncli -> lightningnetwork/lnd#7693

@gcaracuel gcaracuel force-pushed the cli_env_global_flags branch from 312e6e8 to ae8f595 Compare March 19, 2025 13:53
@gcaracuel gcaracuel marked this pull request as ready for review March 19, 2025 13:54
@ViktorT-11 ViktorT-11 self-requested a review March 20, 2025 05:43
Copy link
Contributor

@ViktorT-11 ViktorT-11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this @gcaracuel 🙏🔥!

tACK LGTM 🚀!

state](https://github.com/lightninglabs/lightning-terminal/pull/985) instead
of the Revoked state if it is in fact being revoked due to the session expiry
being reached.
* [`litcli`: global flags to allow overrides via environment variables](https://github.com/lightninglabs/lightning-terminal/pull/1007) `lncli` --help for more details.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would potentially put this under the ### Functional Changes/Additions section instead. Also, feel free to add your name or github profile name under # Contributors (Alphabetical Order) if you'd like to be represented there.

@bitromortac bitromortac self-requested a review March 20, 2025 17:43
@gcaracuel gcaracuel requested a review from ViktorT-11 March 21, 2025 08:35
Copy link
Contributor

@bitromortac bitromortac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this contribution 🎉! Just have a small request.

@gcaracuel gcaracuel force-pushed the cli_env_global_flags branch 2 times, most recently from 16cdec6 to 19681fe Compare March 21, 2025 20:02
@gcaracuel gcaracuel requested a review from bitromortac March 21, 2025 20:02
@gcaracuel gcaracuel force-pushed the cli_env_global_flags branch from 19681fe to b2f2ea0 Compare March 24, 2025 08:24
@guggero guggero merged commit bad957b into lightninglabs:master Mar 24, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants