ShellOut - Easily run shell commands from a Swift script or command line tool

  •        46

Welcome to ShellOut, a simple package that enables you to easily “shell out” from a Swift script or command line tool. Even though you can accomplish most of the tasks you need to do in native Swift code, sometimes you need to invoke the power of the command line from a script or tool - and this is exactly what ShellOut makes so simple.



Related Projects

Marathon - Marathon makes it easy to write, run and manage your Swift scripts 🏃

  •    Swift

Welcome to Marathon, a command line tool that makes it easy to write, run and manage your Swift scripts. It's powered by the Swift Package Manager and requires no modification to your existing scripts or dependency packages. 📦 Hassle free dependency management. Simply add a package...

SwiftPlate - Easily generate cross platform Swift framework projects from the command line

  •    Swift

Easily generate cross platform Swift framework projects from the command line. Feel free to open an issue, or find me @johnsundell on Twitter.

Playground - Instantly create Swift playgrounds from the command line

  •    Swift

Welcome to playground, a Swift script that enables you to super quickly generate Swift playgrounds from the command line - with or without dependencies - for any supported platform. It essentially provides a command line interface to Xgen.

thirsty - Reminds you to drink water - on your terminal.

  •    Shell

zsh/bash script to remind you to drink water. If you're like me and you spend a lot of time programming with the command line open, chances are that you forget about everything for hours, which includes drinking water. At the end of the day I used to realise that I had not consumed enough water. Hence I created a bash/zsh script to remind me to drink water right on my command line.

Beak - A command line interface for your Swift scripts

  •    Swift

Beak can take a standard Swift file and then list and run any public global functions in it via a command line interface. Beak analyzes your Swift file via SourceKit and finds all public and global functions. It uses information about the function and parameter names, types and default values to build up a command line interface. It also uses standard comment docs to build up descriptive help.

neofetch - 🖼️ A command-line system information tool written in bash 3.2+

  •    Shell

Neofetch is a command-line system information tool written in bash 3.2+. Neofetch displays information about your operating system, software and hardware in an aesthetic and visually pleasing way. The overall purpose of Neofetch is to be used in screen-shots of your system. Neofetch shows the information other people want to see. There are other tools available for proper system statistic/diagnostics.

SwiftShell - A Swift framework for shell scripting.

  •    Swift

A library for creating command-line applications and running shell commands in Swift. Launched with e.g. cat long.txt | print_linenumbers.swift or print_linenumbers.swift long.txt this will print the line number at the beginning of each line.

Splash - A fast, lightweight and flexible Swift syntax highlighter for blogs, tools and fun!

  •    Swift

Welcome to Splash - a fast, lightweight and flexible Swift syntax highlighter. It can be used to generate code sample HTML for a blog post, to turn a string of Swift code into a fully syntax highlighted image, or to build custom developer tools. Splash can be used either as a library in your own Swift Package Manager-powered tool or script, or by using one of the three built-in command line tools that act as frontends for the Splash library.

Files - A nicer way to handle files & folders in Swift

  •    Swift

Welcome to Files, a compact library that provides a nicer way to handle files and folders in Swift. It’s primarily aimed at Swift scripting and tooling, but can also be embedded in applications that need to access the file system. It's essentially a thin wrapper around the FileManager APIs that Foundation provides. Files can be easily used in either a Swift script, command line tool or in an app for iOS, macOS, tvOS or Linux.

the-art-of-command-line - Master the command line, in one page


Fluency on the command line is a skill often neglected or considered arcane, but it improves your flexibility and productivity as an engineer in both obvious and subtle ways. This is a selection of notes and tips on using the command-line that we've found useful when working on Linux. Some tips are elementary, and some are fairly specific, sophisticated, or obscure. This page is not long, but if you can use and recall all the items here, you know a lot. Learn basic Bash. Actually, type man bash and at least skim the whole thing; it's pretty easy to follow and not that long. Alternate shells can be nice, but Bash is powerful and always available (learning only zsh, fish, etc., while tempting on your own laptop, restricts you in many situations, such as using existing servers).

Mint - A package manager that installs and runs Swift command line tools

  •    Swift

A package manager that installs and runs Swift command line tool packages. Mint is designed to be used with Swift command line tools that build with the Swift Package Manager. It makes installing, running and distributing these tools much easier.

shpotify - A command-line interface to Spotify.

  •    Shell

shpotify is a simple Bash/Apple script to control Spotify from the command line on a Mac. If you find this interesting, you should follow me on Twitter to learn about the other things I do.

scripting_course - :notebook: A reference guide to Linux command line, Vim and Scripting

  •    Vim

:notebook: A reference guide to Linux command line, Vim and Scripting

osync - A robust two way (bidirectional) file sync script based on rsync with fault tolerance, ACL support and time control

  •    Shell

A two way filesync script running on bash Linux, BSD, Android, MacOSX, Cygwin, MSYS2, Win10 bash and virtually any system supporting bash). File synchronization is bidirectional, and can be run manually, as scheduled task, or triggered on file changes in daemon mode. It is a command line tool rsync wrapper with a lot of additional features baked in. This is a quickstart guide, you can find the full documentation on the author's site.

openterm - OpenTerm, a sandboxed command line interface for iOS

  •    Swift

OpenTerm is a sandboxed command line interface for iOS. To set up dependencies, run

Guaka - The smartest and most beautiful (POSIX compliant) Command line framework for Swift 🤖

  •    Swift

Guaka - Smart and beautiful POSIX compliant CLI framework for Swift. It helps you create modern and familiar CLI apps in the vein of widely used projects such as: Docker, Kubernetes, OpenShift, Hugo and more!. Guaka is both a swift library and a command line application that help generate Guaka projects. Inspired by the amazing Cobra package from the Golang's ecosystem.

FengNiao - A command line tool for cleaning unused resources in Xcode.

  •    Swift

FengNiao is a simple command-line util to deleting unused image resource files from you Xcode project. You need Swift Package Manager (as well as swift compiler) installed in your macOS, generally you are prepared if you have the latest Xcode installed.

CommandLine - A pure Swift library for creating command-line interfaces

  •    Swift

A pure Swift library for creating command-line interfaces. Note: CommandLineKit master requires Xcode 8 / Swift 3.0. If you're using older versions of Swift, please check out the earlier releases.

hstr - Bash and zsh shell history suggest box - easily view, navigate, search and manage your command history

  •    C

Easily view, navigate and search your command history with shell history suggest box for Bash and zsh. HSTR (HiSToRy) is a command line utility that brings improved Bash command completion from the history. It aims to make completion easier and more efficient than Ctrlr.

plowshare - Command-line tool and engine for managing sharing websites

  •    Shell

Plowshare is a set of command-line tools (written entirely in Bash shell script) designed for managing file-sharing websites (aka Hosters). Plowshare itself doesn't support any websites (named module). It's just the core engine. Concerning modules, few are available separately and must be installed in user directory (see below).

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.