An open API service indexing awesome lists of open source software.

https://github.com/sersoft-gmbh/swift-sysctl

A Swift interface for `sysctl`
https://github.com/sersoft-gmbh/swift-sysctl

swift sysctl

Last synced: about 2 months ago
JSON representation

A Swift interface for `sysctl`

Awesome Lists containing this project

README

          

# Swift Sysctl

[![GitHub release](https://img.shields.io/github/release/sersoft-gmbh/swift-sysctl.svg?style=flat)](https://github.com/sersoft-gmbh/swift-sysctl/releases/latest)
![Tests](https://github.com/sersoft-gmbh/swift-sysctl/workflows/Tests/badge.svg)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/061aa9fba7d548f9a9bab8e35800b47a)](https://www.codacy.com/gh/sersoft-gmbh/swift-sysctl/dashboard?utm_source=github.com&utm_medium=referral&utm_content=sersoft-gmbh/swift-sysctl&utm_campaign=Badge_Grade)
[![codecov](https://codecov.io/gh/sersoft-gmbh/swift-sysctl/branch/main/graph/badge.svg?token=XckcIyFIbQ)](https://codecov.io/gh/sersoft-gmbh/swift-sysctl)
[![Docs](https://img.shields.io/badge/-documentation-informational)](https://sersoft-gmbh.github.io/swift-sysctl)

## Installation

Add the following dependency to your `Package.swift`:
```swift
.package(url: "https://github.com/sersoft-gmbh/swift-sysctl.git", from: "1.0.0"),
```

Or add it via Xcode (as of Xcode 11).

## Documentation

The API is documented using header doc. If you prefer to view the documentation as a webpage, there is an [online version](https://sersoft-gmbh.github.io/swift-sysctl) available for you.

## Contributing

If you find a bug / like to see a new feature there are a few ways of helping out:

- If you can fix the bug / implement the feature yourself please do and open a PR.
- If you know how to code (which you probably do), please add a (failing) test and open a PR. We'll try to get your test green ASAP.
- If you can do neither, then open an issue. While this might be the easiest way, it will likely take the longest for the bug to be fixed / feature to be implemented.

## License

See [LICENSE](./LICENSE) file.