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

Filter server by state #160

Merged
merged 2 commits into from
Oct 18, 2019
Merged

Filter server by state #160

merged 2 commits into from
Oct 18, 2019

Conversation

tboerger
Copy link
Contributor

Currently it's pretty annoying to copy and paste the ID of errored agents to delete them immediately. That's why I have added a new option -s, or the long form --state to filter the server listing by state, e.g. drone server ls -s error. That way I can iterate through all errored servers and directly delete them without any hack.

Beside that I have also added long options as an alternative to the short options.

Copy link
Contributor

@phil-davis phil-davis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bradrydzewski bradrydzewski merged commit 0b1b264 into harness:master Oct 18, 2019
@tboerger tboerger deleted the server-filter branch October 18, 2019 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants