RexOps / RexOps/Rex

Passing args to tasks is awkward

Open
#623 14 comments 0 reactions 1 assignee View on GitHub

@krimdomu is already working on this.

Since Oct 3, 2015.

Dominant language
Perl
Stars
737
Forks
214
PR merge metrics
No merged PRs in 30d

Description

I'd like to limit the number of tasks Rex can do at a time to 1. That way all arguments after the task name can be passed to the task. For example:

rex Unix:ls -l /etc

would result in `-l /etc' being passed to the task Unix::ls() in some way. The only way to do this currently is to do something really awkward like:

rex Unix:ls --l --dir /etc

How would you feel about a pull request that did something like this? I realize there are a lot of details that need to be worked out here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.