Skip to content

How to add a subcommand that does not require a full config #97

@Threated

Description

@Threated

I am really enjoying the crate so far but I am wondering if there is some way to create a subcommand that does not require a config. This seems kind of difficult with RAII when the args::config is only allowed to be declared on the top level args struct but maybe there is already a way?
My motivation for this is that I want some kind of bootstrap command.
Maybe this could be supported by allowing a args::config to be defined in subcommands?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions