Swift package for making simple command line tools
I made this for personal use, but feel free to use it or contribute.
Intro
There is a Command which can run some arguments in Cli which has its Output
and contains any defined commands. For the example of a more custom implementation,
see AETool.
Example
Create executable Swift package and open it with Xcode
mkdir My && cd My && swift package init --type executable && xed .
AECli
Swift package for making simple command line tools
Intro
There is a
Command
which can run some arguments inCli
which has itsOutput
and contains any defined commands. For the example of a more custom implementation, see AETool.Example
Create executable Swift package and open it with Xcode
Edit
Package.swift
Edit
Sources/My/main.swift
Install
Uninstall
Usage
Run my
Run thing command
Run foo command
Installation
Swift Package Manager:
License
This code is released under the MIT license. See LICENSE for details.