Releases: TitasGailius/terminal
Releases · TitasGailius/terminal
Fixes a bug with "retries" option.
Fixes a bug with "retries" option.
Fix "Builder" proxy
There was a typo when proxying missing methods of the Builder instance to the Process instance.
PR: #6
Set Input
This release makes it possible to set input for the Symfony Process:
Terminal::input($input)->run('rm -rf vendor');
Fixes a typo
PR: #3
Pass data to the command line script
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
Initial release