vapor/console-kit
Tentang
💻 APIs for creating interactive CLI tools.
Alat pengembanganPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- +1
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Asli💻 Utilities for interacting with a terminal and the command line in a Swift application.
Overview
ConsoleKit provides utilities for interacting with a console in a Swift application. It provides:
- Utilities for sending text (including styles and colors, when supported) to and reading input from a terminal.
ConsoleLogger, a SwiftLogLogHandlerimplementation for customizable logging to a console.
Supported Platforms
ConsoleKit supports all platforms supported by Swift 6.2 and later.
Installation
Use the Github repository URL to add the dependency to your Package.swift manifest:
.package(url: "https://github.com/vapor/console-kit.git", from: "5.0.0")
CLI Tools
To use ConsoleKit, add it to your target's dependencies:
.product(name: "ConsoleKit", package: "console-kit")
Logging
ConsoleLogger is a flexible logging backend for console applications, allowing developers to customize log output with various fragments, including timestamps, log levels, and source locations.
To use ConsoleLogger, add it to your target's dependencies:
.product(name: "ConsoleLogger", package: "console-kit")
Jelajahi proyek terkait
Memuat…