Swift CLI

Open-source Swift projects categorized as CLI Edit details

Top 18 Swift CLI Projects

  • XcodeGen

    A Swift command line tool for generating your Xcode project

    Project mention: How to manage a huge iOS project written by many teams? | reddit.com/r/SwiftUI | 2022-03-24

    There are a lot of tools and solutions that can help manage a large codebase. For example, a good CI/CD system linked to GitHub or your internal source control system can ensure that all of your unit tests and UI tests run on every PR and block PRs from merging if there are test failures. And if the company chooses not to check in the .xcodeproj or .xcworkspace file, but rather rely on project autogeneration tools like xcodegen, then you can eliminate annoying merge conflicts in PRs that happen when two teams happen to touch files that are near each other in the .pbxproj file (but at the cost of developers always having to run xcodegen when checking out a new branch).

  • Swift Argument Parser

    Straightforward, type-safe argument parsing for Swift

    Project mention: Embedded malware in RC (NPM package) | news.ycombinator.com | 2021-11-05

    It's not part of the standard library, but Swift has the first-party ArgumentParser[0]. Other languages could use a similar model (though what "first party" means for JavaScript is unclear).

    [0]: https://github.com/apple/swift-argument-parser

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support. Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • ipatool

    Command-line tool that allows searching and downloading app packages (known as ipa files) from the iOS App Store

    Project mention: How to compile installed app from AppStore as IPA? | reddit.com/r/sideloaded | 2022-08-11

    Using ipatool: probably the best method to get ipa from AppStore (Written in Swift, supports iOS, macOS).

  • LicensePlist

    A license list generator of all your dependencies for iOS applications

    Project mention: What are the most underrated third party libraries for Native iOS? | reddit.com/r/iOSProgramming | 2021-10-23
  • Swiftline

    Swiftline is a set of tools to help you create command line applications.

  • multi

    Create a custom, lightweight macOS app from a group of websites

    Project mention: WhatsApp on macOS sucks | reddit.com/r/MacOS | 2022-07-02
  • SwiftKit

    Start your next Open-Source Swift Framework 📦

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • SwiftCLI

    A powerful framework for developing CLIs in Swift

  • vmcli

    A set of utilities (vmcli + vmctl) for macOS Virtualization.framework

    Project mention: Running Intel Binaries in Linux VMs with Rosetta | news.ycombinator.com | 2022-06-06

    Virtualization.framework is the hypervisor itself, you only need simple tool to launch it. You probably could just copy-paste provided code into eg. https://github.com/gyf304/vmcli. However macOS 13 beta seems to be only available for registered developers.

  • dark-mode

    Control the macOS dark mode from the command-line

    Project mention: Node.js Packages and Resources | dev.to | 2021-09-06

    dark-mode - Toggle the macOS Dark Mode.

  • SwagGen

    OpenAPI/Swagger 3.0 Parser and Swift code generator

    Project mention: Share Swift Code Between Client App and Vapor Server | reddit.com/r/iOSProgramming | 2022-08-11
  • SwiftPlantUML

    A command-line tool and Swift Package for generating class diagrams powered by PlantUML

  • Surmagic

    🚀 Create XCFramework with ease! Surmagic is a command-line tool to create XCFramework for multiple platforms at one shot! You don't need to waste your time with command-line scripts when you want to create an XCFramework! Surmagic adds an elegant layer between you and the compiler, for your comfort. You can use Surmagic with your current CI/CD pipeline, or as a standalone tool in your toolbox. The better way to deal with XCFrameworks for iOS, iPadOS, Mac Catalyst, tvOS, macOS, and watchOS.

  • appstoreconnect-cli

    An easy to use command-line tool for interacting with the Apple AppStore Connect API

    Project mention: Setup Fastlane for iOS | reddit.com/r/iOSProgramming | 2021-08-23

    There may be specialized things you can’t do without fastlane but you can certainly build, sign, test and deploy without fastlane now. All you need is Xcode command line and possibly a tool to deploy to App Store: https://github.com/ittybittyapps/appstoreconnect-cli

  • swift-mod

    A tool for Swift code modification intermediating between code generation and formatting.

  • Crayon

    ✏️Expressive styling on terminal string. (chalk for swift) (by luoxiu)

  • airdrop-cli

    A macOS CLI for AirDrop written in Swift

  • Prism

    Colored text for Swift command line tools. (by jordanbaird)

    Project mention: Colored text for Swift command line tools. | reddit.com/r/swift | 2022-05-16
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-08-11.

Swift CLI related posts


What are some of the best open-source CLI projects in Swift? This list will help you:

Project Stars
1 XcodeGen 5,574
2 Swift Argument Parser 2,712
3 ipatool 2,442
4 LicensePlist 2,134
5 Swiftline 1,179
6 multi 962
7 SwiftKit 817
8 SwiftCLI 775
9 vmcli 750
10 dark-mode 614
11 SwagGen 531
12 SwiftPlantUML 299
13 Surmagic 250
14 appstoreconnect-cli 130
15 swift-mod 86
16 Crayon 58
17 airdrop-cli 57
18 Prism 6
Find remote jobs at our new job board 99remotejobs.com. There are 3 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.