mirror of
https://github.com/deployphp/action.git
synced 2025-10-27 20:40:54 +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']})