Skip to content

Add a way to assign a variable "in-line" #27

Description

@AngelEzquerra

Rather than using the shellAssign macro, it'd be nice to be able to assign the result of command to a variable "in-line". To do so we could use a special token such as "=>" followed by the variable name, = and the command to execute. For example:

var firstResult = ""
var secondResult = ""
shell:
    =>firstResult = cat myfile.txt
    =>secondResult = ls

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions