https://github.com/josefdolezal/mekos
Automation tool for macOS bootstrap.
https://github.com/josefdolezal/mekos
automation mac macos swift swift-package-manager
Last synced: about 2 months ago
JSON representation
Automation tool for macOS bootstrap.
- Host: GitHub
- URL: https://github.com/josefdolezal/mekos
- Owner: josefdolezal
- License: mit
- Created: 2017-06-07T20:01:05.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-12T22:24:20.000Z (over 7 years ago)
- Last Synced: 2025-02-10T18:13:17.397Z (3 months ago)
- Topics: automation, mac, macos, swift, swift-package-manager
- Language: Swift
- Size: 45.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mekos [](https://travis-ci.com/josefdolezal/mekos)
`mekos` is an automation library for macOS written in Swift. The main purpose is to automate process of clean OS bootstrap. But it's not all! You can also create dynamic environments or configuration scrips.
## Usage
Mekos is currently library with simple DSL, which you include in your own scripts, for example with [Marathon](https://github.com/JohnSundell/Marathon). Just import `MekosFramework` to your Swift script and use the DSL:
``` swift
import MekosFramework// Update brew repositories
system.brew.update()// Install Apps from AppStore & brew
system.brew.install(["swiftenv", "swiftlint", "sourcery"])
system.appStore.install(["Slack", "Xcode", "Tweetbot", "Frank DeLoupe"])// Setup Exposé
system.expose.topLeft(do: .missionControl)
system.expose.topRight(do: .none)
system.expose.bottomLeft(do: .applicationWindows)
system.expose.bottomRight(do: .desktop)
```## What's in the box? :package:
Mekos is still in developments and only few tools are supported now. However, we are working hard to cover most of generally used functions. List of currently supported functions:
* System
* Expose - Set system hot corners from your script
* Install
* Brew - Install packages via brew
* AppStore - Automatically install apps from AppStore