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

Add possibility to specify a result of a command as value (the same thing than for list values) #141

Closed
csphoenix1 opened this issue Nov 26, 2018 · 3 comments

Comments

@csphoenix1
Copy link
Contributor

Hi !

Is it possible to add the possibility to specify a result of a command as the value of a parameter ?

Like that but not only for a list values.

{ "name": "Reload the current profile", "value": { "script": "cat /tmp/current_profile.txt" } }

@bugy
Copy link
Owner

bugy commented Nov 26, 2018

Hi @csphoenix1, do you mean for constants and default values?

@bugy bugy added the feature label Nov 26, 2018
@csphoenix1
Copy link
Contributor Author

Hi @bugy

Yes for constant and default value, exactly.

@bugy
Copy link
Owner

bugy commented Feb 14, 2019

Done. Usage example:

      "default": {
        "script": "shuf -i 10000-99999 -n 1"
      }

@bugy bugy added the resolved label Feb 14, 2019
@bugy bugy added this to the 1.14 milestone Feb 14, 2019
@bugy bugy closed this as completed May 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants