Skip to content

Releases: TitasGailius/terminal

Fixes a bug with "retries" option.

30 Mar 18:30
Compare
Choose a tag to compare

Fixes a bug with "retries" option.

Fix "Builder" proxy

30 Mar 08:38
b48238f
Compare
Choose a tag to compare

There was a typo when proxying missing methods of the Builder instance to the Process instance.

PR: #6

Set Input

29 Mar 10:35
cce435e
Compare
Choose a tag to compare

This release makes it possible to set input for the Symfony Process:

Terminal::input($input)->run('rm -rf vendor');

Fixes a typo

29 Mar 10:23
5ad0f65
Compare
Choose a tag to compare

Pass data to the command line script

24 Mar 10:00
Compare
Choose a tag to compare

Data

If you need to pass any data to your command line, it's better to bind it using the with method.
Terminal can escape and prepare the values for you. Reference these values using the {{ $key }} syntax.

Terminal::with([
    'firstname' => 'John',
    'lastname' => 'Doe',
])->run('echo Hello, {{ $firstname}} {{ $lastname }}');

Alternatively, you may pass the key-value pair in separate parameters.

Terminal::with('greeting', 'World')
        ->run('echo Hello, {{ $greeting }}');

Initial Release

22 Mar 10:12
Compare
Choose a tag to compare

Initial release