Skip to content

tuist/Noora

Repository files navigation

Noora CLI

Noora is a Swift package providing terminal UI components for building beautiful command-line interfaces.

Note

The web component library has moved to the tuist/tuist monorepo (noora/ directory).

Quick Start

Installation:

.package(url: "https://github.com/tuist/Noora", .upToNextMajor(from: "0.15.0"))

Usage:

import Noora

Noora().yesOrNoChoicePrompt(
  title: "Authentication",
  question: "Would you like to authenticate?",
  defaultAnswer: true,
  description: "Authentication is required to use some CLI features."
)

The Noora CLI package provides Swift components for building beautiful terminal interfaces. It includes components for:

  • Prompts: Interactive user input (yes/no choices, text input, single choice selection)
  • Alerts: Status messages (success, warning, error notifications)
  • Progress: Visual progress indicators (progress bars, step indicators)
  • Text Styling: Consistent typography and formatting

View full CLI documentation

Development

Prerequisites

  • mise for tool management

Getting Started

# Install tools
mise install

# Build
mise run build

# Test
mise run test

# Lint
mise run lint

Contributors

Thanks goes to these wonderful people (emoji key):

Finn Voorhees
Finn Voorhees

💻
Vaishali Desai
Vaishali Desai

💻
Nikita Vasilev
Nikita Vasilev

💻
Raul Menezes
Raul Menezes

💻
Mikhail
Mikhail

💻
Joannis Orlandos
Joannis Orlandos

💻
Zamderax
Zamderax

💻
Ryu
Ryu

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

🎨 A design system for Swift CLIs and Phoenix apps

Topics

Resources

License

Stars

Watchers

Forks

Contributors