Liking cljdoc? Tell your friends :D

dk.salza.liq.tools.cshell

A namespace for shell like utils in clojure style.

A namespace for shell like utils
in clojure style.
raw docstring

cdclj

(cd d)
source

cmdclj

(cmd & args)

Execute a native command. Adding :timeout 60 or similar as last command will add a timeout to the process.

Execute a native command.
Adding :timeout 60 or similar as last command will
add a timeout to the process.
sourceraw docstring

cmdseqclj

(cmdseq & args)
source

cpclj

(cp source-path dest-path)
source

current-dirclj

source

current-processclj

source

datetimestampclj

(datetimestamp)

Todays date in yyyy-mm-dd-HH-mm-ss format

Todays date in yyyy-mm-dd-HH-mm-ss format
sourceraw docstring

expand-homeclj

(expand-home s)
source

file?clj

(file? path)
source

flrexclj

(flrex re s)

Returns sequence of [filepath line] vectors in files matched by the regular expression.

Returns sequence of [filepath line] vectors in files matched
by the regular expression.
sourceraw docstring

folder?clj

(folder? path)
source

frexclj

(frex re s)

Takes a sequence of files and filters by given regular expression match in content

Takes a sequence of files and filters by given
regular expression match in content
sourceraw docstring

kill-processclj

(kill-process)
source

lrexclj

(lrex re s)

Returns sequence of lines in files matched by the regular expression.

Returns sequence of lines in files matched
by the regular expression.
sourceraw docstring

lsclj

(ls)
(ls dir)

Outputs files and folders in a given dir into a vector.

Outputs files and folders in a given
dir into a vector.
sourceraw docstring

lsrclj

(lsr dir)
source

mkdirclj

(mkdir d)
source

mvclj

(mv source-path dest-path)
source

pclj

(p s)

Prints a sequence in lines.

Prints a sequence in lines.
sourceraw docstring

pathsuggestclj

(pathsuggest partly)

Given part of a path return sequence with suggestions.

Given part of a path return
sequence with suggestions.
sourceraw docstring

ppclj

(pp s)

Prints a sequence line by line.

Prints a sequence line by line.
sourceraw docstring

remote-cmdclj

(remote-cmd server username password & args)

Executes a command on remote server and returns the result.

Executes a command on remote server and returns
the result.
sourceraw docstring

rexclj

(rex re s)

Takes a sequence and filters by given regular expression

Takes a sequence and filters by given
regular expression
sourceraw docstring

rmclj

(rm path)
source

sizeclj

(size s)
source

todayclj

(today)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close