mirror of
https://github.com/deployphp/action.git
synced 2025-06-29 04:34:15 +00:00
Update deps
This commit is contained in:
parent
eed58e3496
commit
363bb1be96
126 changed files with 5743 additions and 2737 deletions
34
node_modules/webpod/README.md
generated
vendored
Normal file
34
node_modules/webpod/README.md
generated
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Webpod
|
||||
|
||||
```js
|
||||
import { ssh } from 'webpod'
|
||||
|
||||
const $ = ssh('user@host')
|
||||
|
||||
const branch = await $`git branch --show-current`
|
||||
await $`echo ${branch}`
|
||||
|
||||
await $`mkdir /tmp/${'foo bar'}`
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
```sh
|
||||
npm install webpod
|
||||
```
|
||||
|
||||
```sh
|
||||
deno install -A -r https://deno.land/x/webpod/webpod.ts
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
### ssh()
|
||||
|
||||
```js
|
||||
ssh('user@host', {port: 22, options: ['StrictHostKeyChecking=no']})
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
[MIT](LICENSE)
|
Loading…
Add table
Add a link
Reference in a new issue