Skip to content

Ops - Kaspad - Allow args to be consumed from environment variables #713

@IzioDev

Description

@IzioDev

Is your feature request related to a problem? Please describe.
When I want to setup a Kaspa node in a cloud-native environment, I have to define command line argument which are painful to manage independently.

Describe the solution you'd like
I'd like parapeters populated from clap to consume corresponding environment variable as a fallback.

Describe alternatives you've considered
Manage parameters as a CLI arguments

Additional context
There is a built-in clap method, document here that allows that use-case

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions