项目
在 GitHub 查看
vapor/console-kit
关于
💻 用于创建交互式 CLI 工具的 API。
开发工具实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文💻 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")
探索相关项目
加载中…