handsy-0.0.8: A DSL to describe common shell operations and interpeters for running them locally and remotely.

Safe HaskellNone
LanguageHaskell2010

System.Handsy.Remote

Synopsis

Documentation

data RemoteOptions Source

Constructors

RemoteOptions 

Fields

sshCommand :: (String, [String])
 

runRemote :: Options -> RemoteOptions -> Handsy a -> IO a Source

Executes the actions at a remote host

pushFile Source

Arguments

:: FilePath

Local path of source

-> FilePath

Remote path of destination

-> Handsy () 

Copies a local file to remote host

pullFile Source

Arguments

:: FilePath

Remote path of source

-> FilePath

Local path of destination

-> Handsy () 

Fetches a file from remote host