Skip to content

Commit

Permalink
Merge pull request #204 from jolicode/ssh-doc
Browse files Browse the repository at this point in the history
Fix SSH documentation
  • Loading branch information
lyrixx authored Nov 20, 2023
2 parents 40f0a00 + 5c74a44 commit 98f5993
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/11-ssh.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function:
```php
use Castor\Attribute\AsTask;

use function Castor\ssh;
use function Castor\ssh_run;

#[AsTask]
function ls(): void
Expand All @@ -29,6 +29,9 @@ Castor provides 2 functions `ssh_upload()` and `ssh_download()` to exchange file
between localhost and a remote server:

```php
use function Castor\ssh_download;
use function Castor\ssh_upload;

#[AsTask]
function upload_file(): void
{
Expand Down

0 comments on commit 98f5993

Please sign in to comment.