Skip to content
This repository was archived by the owner on May 18, 2025. It is now read-only.

zaneenders/chroma-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chroma Shell

A basic Swift DSL for making more interactive tools for your shell.

Getting started

Add Chroma Shell to your swift package to give it a try.

.package(
    url: "https://github.com/zaneenders/chroma-shell.git",
    revision: "main"),

.product(name: "ChromaShell", package: "chroma-shell"),

You can also clone the repo and swift run AsyncUpdate or the name of one of the examples you wanna try.

Hello world

import ChromaShell

@main
struct Scribe: ChromaShell {
    var main: some Block {
        "Hello world"
    }
}

Checkout the docs for more details about the project.

Examples

ShellExample A simple example of running a shell command in the background.

AsyncUpdate Shows the ui updating from an external async source.

FileSystem An example browsing the file system.

About

Add more color to your Swift terminal life.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages