Sha256: 2e97ad25af0b3d9cf40fae271a5f200d8a12970e0135c3de05e757086703c0d2

Contents?: true

Size: 496 Bytes

Versions: 8

Compression:

Stored size: 496 Bytes

Contents

## Description

Execute command on localhost and save output into result object.

**Alias**: In fact it's the same as doing `goto :localhost, :execute => "COMMAND"`.

> Then, why have another instruction? Because there are people who like doing this way.

## Usage

```ruby
run "id david"
```

## Example

```ruby
run "id david"
```

* This instruction execute "id david" command on local machine, and save results into `result` object.
* Local machine is where the `Teuton` program is running.

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
teuton-2.1.8 docs/dsl/definition/run.md
teuton-2.1.8dev1 docs/dsl/definition/run.md
teuton-2.1.7 docs/dsl/definition/run.md
teuton-2.1.6 docs/dsl/definition/run.md
teuton-2.1.5dev docs/dsl/definition/run.md
teuton-2.1.4 docs/dsl/definition/run.md
teuton-2.1.3 docs/dsl/definition/run.md
teuton-2.1.2 docs/dsl/definition/run.md