Shelly.Pipe

# Entering Sh.

data Sh a

shs

shelly

shellyFailDir

shsFailDir

sub

silently

verbosely

escaping

print_stdout

print_commands

tracing

errExit

log_stdout_with

log_stderr_with

# List functions

roll

unroll

liftSh

# Running external commands.

type FoldCallback a

run

run_

runFoldLines

cmd

(-|-)

lastStderr

setStdin

lastExitCode

command

command_

command1

command1_

sshPairs

sshPairs_

# Modifying and querying environment.

setenv

get_env

get_env_text

get_env_def

appendToPath

# Environment directory

cd

chdir

pwd

# Printing

echo

echo_n

echo_err

echo_n_err

inspect

inspect_err

tag

trace

show_command

# Querying filesystem.

ls

lsT

test_e

test_f

test_d

test_s

which

# Filename helpers

absPath

(</>)

(<.>)

canonic

canonicalize

relPath

relativeTo

hasExt

# Manipulating filesystem.

mv

rm

rm_f

rm_rf

cp

cp_r

mkdir

mkdir_p

mkdirTree

# reading/writing Files

readfile

readBinary

writefile

appendfile

touchfile

withTmpDir

# exiting the program

exit

errorExit

quietExit

terror

# Exceptions

catchany

catch_sh

finally_sh

data ShellyHandler a

catches_sh

catchany_sh

# convert between Text and FilePath

toTextIgnore

toTextWarn

fromText

# Utilities.

(<$>)

whenM

unlessM

time

# Re-exported for your convenience

liftIO

when

unless

data FilePath

# internal functions for writing extensions

get

put

# find functions

find

findWhen

findFold

findDirFilter

findDirFilterWhen

findFoldDirFilter