mirror of
https://github.com/deployphp/action.git
synced 2024-11-23 12:29:03 +00:00
.. | ||
dist | ||
src | ||
LICENSE | ||
mod.ts | ||
package.json | ||
README.md | ||
tsconfig.json |
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']})