Skip to content

Provide a non-interactive interface to Litterbox #67

@thund-x

Description

@thund-x

Using flags and options is marginally faster than answering to each prompt on each invocation. This lets users to create scripts to automate certain actions. For destructive actions (e.g. SSH key deletion), a -y/--no-confirm flag can be provided to override the prompt. -f/--force can be reserved for those cases when there will be collateral damage from an action (e.g. #66).

For backwards compatibility we can default to interactive mode, unless at least one flag or option has been specified. Code-wise this can be achieved by using Option<T> instead of T.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions