Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract client flags specs to seperate methods #321

Merged
merged 1 commit into from
Sep 17, 2021
Merged

Commits on Sep 17, 2021

  1. Extract client flags specs to seperate methods

    Make sure the main function is not overhelming,
    extract portion of lines to separate methods for better read.
    
    Found that client in `toxic add` supports both: `--upstream` and
    `--downstream`. Because it tries to create 2 toxic with single name it
    produces the error when tries add `--downstream` toxic, and in same time
    creates the `--upstream` toxic.
    
    To remove confusion update the client usage help to support only one in
    same time. Return error message in case 2 flags provided.
    miry committed Sep 17, 2021
    Configuration menu
    Copy the full SHA
    0bed9b0 View commit details
    Browse the repository at this point in the history