turtle: Shell programming, Haskell-style

[ bsd3, library, system ] [ Propose Tags ]

turtle is a reimplementation of the Unix command line environment in Haskell so that you can use Haskell as both a shell and a scripting language.

Features include:

  • Batteries included: Command an extended suite of predefined utilities

  • Interoperability: You can still run external shell commands

  • Portability: Works on Windows, OS X, and Linux

  • Exception safety: Safely acquire and release resources

  • Streaming: Transform or fold command output in constant space

  • Patterns: Use typed regular expressions that can parse structured values

  • Formatting: Type-safe printf-style text formatting

  • Modern: Supports text

Read Turtle.Tutorial for a detailed tutorial or Turtle.Prelude for a quick-start guide

turtle is designed to be beginner-friendly, but as a result lacks certain features, like tracing commands. If you feel comfortable using turtle then you should also check out the Shelly library which provides similar functionality.

Flags

Automatic Flags
NameDescriptionDefault
new-deps

Use new versions of ansi-wl-pprint and optparse-applicative

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.5.10, 1.5.11, 1.5.12, 1.5.13, 1.5.14, 1.5.15, 1.5.16, 1.5.17, 1.5.18, 1.5.19, 1.5.20, 1.5.21, 1.5.22, 1.5.23, 1.5.24, 1.5.25, 1.6.0, 1.6.1, 1.6.2 (info)
Change log CHANGELOG.md
Dependencies ansi-wl-pprint (>=0.6 && <1.1), async (>=2.0.0.0 && <2.3), base (>=4.9 && <5), bytestring (>=0.9.1.8 && <0.13), clock (>=0.4.1.2 && <0.9), containers (>=0.5.0.0 && <0.8), directory (>=1.3.1.0 && <1.4), exceptions (>=0.4 && <0.11), filepath (>=1.4.1.2 && <1.5), foldl (>=1.1 && <1.5), hostname (<1.1), managed (>=1.0.3 && <1.1), optional-args (>=1.0 && <2.0), optparse-applicative (>=0.16 && <0.19), process (>=1.0.1.1 && <1.7), stm (<2.6), streaming-commons (<0.3), temporary (<1.4), text (>=1.0.0 && <2.2), time (<1.13), transformers (>=0.2.0.0 && <0.7), unix (>=2.5.1.0 && <2.9), unix-compat (>=0.4 && <0.8), Win32 (>=2.12) [details]
License BSD-3-Clause
Copyright 2015 Gabriella Gonzalez
Author Gabriella Gonzalez
Maintainer GenuineGabriella@gmail.com
Revised Revision 2 made by GabrielGonzalez at 2023-11-20T00:14:27Z
Category System
Bug tracker https://github.com/Gabriella439/turtle/issues
Source repo head: git clone https://github.com/Gabriella439/turtle
Uploaded by GabrielGonzalez at 2023-10-16T02:06:54Z
Distributions Arch:1.6.2, Fedora:1.6.1, LTSHaskell:1.6.2, NixOS:1.6.2, Stackage:1.6.2
Reverse Dependencies 30 direct, 2 indirect [details]
Downloads 49650 total (176 in the last 30 days)
Rating 2.5 (votes: 6) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]