A namespace for shell like utils in clojure style.
A namespace for shell like utils in clojure style.
(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.
(datetimestamp)
Todays date in yyyy-mm-dd-HH-mm-ss format
Todays date in yyyy-mm-dd-HH-mm-ss format
(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
(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.
(ls dir)
Outputs files and folders in a given dir into a vector.
Outputs files and folders in a given dir into a vector.
(pathsuggest partly)
Given part of a path return sequence with suggestions.
Given part of a path return sequence with suggestions.
(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.
(rex re s)
Takes a sequence and filters by given regular expression
Takes a sequence and filters by given regular expression
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close