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

Allow chaining of commands, and allow using beany to delete jobs non-interactively #4

Open
mattconsto opened this issue Aug 7, 2020 · 0 comments

Comments

@mattconsto
Copy link

It would be useful to chain commands. This is primarily to allow you to use beany to connect to a remote beanstalk server, and then run a command on that remote beanstalk sever:

$ beany connect some_server
Connected to 'some_server:11300'
$ beany connect some_server list
strconv.Atoi: parsing "list": invalid syntax
$ beany 'connect some_server; list'
2020/08/07 11:20:31 incorrect input, try 'help'

It would also be useful to delete jobs non-interactively:

$ beany delete-ready some_tube
Are you sure you want to delete all ready jobs from the some_tube tube [yn]? y
Deleted 10 ready jobs
$ beany delete-ready some_tube -y
Too many arguments provided
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant