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 and system-filepath

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.

Downloads

Maintainer's Corner

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
Change log CHANGELOG.md
Dependencies ansi-wl-pprint (>=0.6 && <0.7), async (>=2.0.0.0 && <2.3), base (>=4.9 && <5), bytestring (>=0.9.1.8 && <0.12), clock (>=0.4.1.2 && <0.9), containers (>=0.5.0.0 && <0.7), directory (>=1.3.1.0 && <1.4), exceptions (>=0.4 && <0.11), 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.18), process (>=1.0.1.1 && <1.7), stm (<2.6), streaming-commons (<0.3), system-fileio (>=0.2.1 && <0.4), system-filepath (>=0.3.1 && <0.5), temporary (<1.4), text (>=1.0.0 && <2.1), time (<1.13), transformers (>=0.2.0.0 && <0.7), unix (>=2.5.1.0 && <2.8), unix-compat (>=0.4 && <0.6), Win32 (>=2.12) [details]
License BSD-3-Clause
Copyright 2015 Gabriel Gonzalez
Author Gabriel Gonzalez
Maintainer Gabriel439@gmail.com
Category System
Bug tracker https://github.com/Gabriel439/Haskell-Turtle-Library/issues
Source repo head: git clone https://github.com/Gabriel439/Haskell-Turtle-Library
Uploaded by GabrielGonzalez at 2022-05-06T20:56:47Z
Distributions Arch:1.5.25, Fedora:1.5.22, LTSHaskell:1.5.25, NixOS:1.5.24, Stackage:1.5.25, openSUSE:1.5.24
Downloads 45233 total (367 in the last 30 days)
Rating 2.5 (votes: 6) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-05-06 [all 1 reports]