sidekiq-client-cli icon indicating copy to clipboard operation
sidekiq-client-cli copied to clipboard

Passing arguments using ZSH

Open Ricardonacif opened this issue 9 years ago • 5 comments

Hey,

As far as I understood, I can pass arguments to the worker like this:

sidekiq-client push MyWorker args[1,2] 

The problem with that is because I'm getting zsh: no matches found: args[1,2] . I'm using Oh-my-Zsh. Am I doing something wrong?

Ricardonacif avatar Aug 26 '15 05:08 Ricardonacif

Hi, no right now no args can be passed to the worker

didil avatar Aug 26 '15 06:08 didil

Got it. Any support on the roadmap?

Ricardonacif avatar Aug 26 '15 16:08 Ricardonacif

I don't really have much time for this as the moment as I have mostly switched to Node.js development, but it shouldn't be too complex, feel free to take a crack at it and open a pull request :)

didil avatar Aug 27 '15 09:08 didil

Cool, will take a look when I got time :)

Ricardonacif avatar Aug 27 '15 23:08 Ricardonacif

Pull Request that solves this issue: https://github.com/didil/sidekiq-client-cli/pull/16 The repository that implemented the above PR: https://github.com/zzvvmm/sidekiq-client-cli

zzvvmm avatar Dec 13 '21 01:12 zzvvmm