deployphp/node_modules/webpod/README.md
Anton Medvedev 363bb1be96 Update deps
2023-03-28 17:15:22 +02:00

428 B

Webpod

import { ssh } from 'webpod'

const $ = ssh('user@host')

const branch = await $`git branch --show-current`
await $`echo ${branch}`

await $`mkdir /tmp/${'foo bar'}`

Installation

npm install webpod
deno install -A -r https://deno.land/x/webpod/webpod.ts

Usage

ssh()

ssh('user@host', {port: 22, options: ['StrictHostKeyChecking=no']})

License

MIT