hishma / CommandLineTool

Example command line tool written in swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CommandLineTool

Example command line tool written in swift.

This uses the SPMUtility package that is part of the Swift Pakcage Manager to process command line arguments in a type safe way (unlike getopt).

Install and build

  1. Download the repo and cd into the project directory in Terminal.app.
  2. swift package update
  3. swift build
  4. swift run CommandLineTool --help

Xcode

  1. swift package generate-xcodeproj
  2. open CommandLineTool.xcodeproj

About

Example command line tool written in swift


Languages

Language:Swift 100.0%