Skip to content
プロジェクト

概要

💻 インタラクティブなCLIツールを作成するためのAPI。

開発ツール

この数値の測り方

計測したスター増加

24時間
0
7日間
+1
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

ConsoleKit

Documentation Team Chat MIT License Continuous Integration Code Coverage Swift 6.2+


💻 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 SwiftLog LogHandler implementation 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")

関連プロジェクトを探す

読み込み中…