Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdsn/deploy
A small set of combinators to build input to be written to ssh
https://github.com/mdsn/deploy
Last synced: about 2 months ago
JSON representation
A small set of combinators to build input to be written to ssh
- Host: GitHub
- URL: https://github.com/mdsn/deploy
- Owner: mdsn
- License: gpl-2.0
- Created: 2015-11-09T14:59:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-09T15:04:30.000Z (about 9 years ago)
- Last Synced: 2023-05-07T08:10:20.130Z (over 1 year ago)
- Language: Haskell
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# deploy
A small set of combinators to write lines of input through ssh# installation
Run `stack install`.# usage
Commands are built from lines of input to be written to the server. Use <> for
command composition.Write new commands using the `command` function:
```
let which x = command $ format ("which "%s) x
```Run a chain of commands with the `run` function, which takes a hostname to
connect to.```
> let c = which "python" <> cd "/etc" <> ls <> command "whoami"
> run "hostname" c
```