Skip to content

Framework supporting the development of command-line tools in Swift on macOS and Linux. The framework supports managing command-line arguments, provides lightweight functions to deal with escape sequences, and defines an API for reading strings from the terminal.

License

Notifications You must be signed in to change notification settings

objecthub/swift-commandlinekit

Repository files navigation

Swift CommandLineKit

Platform: macOS Language: Swift 4.1 IDE: Xcode 9.3 Carthage: compatible License: BSD

Overview

This is a library supporting the development of command-line tools in the programming language Swift on macOS. The library provides the following functionality:

  • Management of command-line arguments
  • Usage of escape sequences in XTerms
  • Reading strings on terminals using a lineread-inspired implementation based on the library Linenoise-Swift, but supporting unicode input, multiple lines, and styled text.

Requirements

  • XCode 9.3
  • Swift 4.1
  • Carthage or Swift Package Manager

About

Framework supporting the development of command-line tools in Swift on macOS and Linux. The framework supports managing command-line arguments, provides lightweight functions to deal with escape sequences, and defines an API for reading strings from the terminal.

Topics

Resources

License

Stars

Watchers

Forks