Skip to content

Reduce repeated validation logic #244

@digitalghost-dev

Description

@digitalghost-dev

In cmd/utils/validateargs.go, there is a function for each available command that checks to see if all arguments passed are valid. A lot of the logic is duplicated and can be reduced to a single function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorRefactoring existing code.

    Projects

    Status

    Completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions