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

https://github.com/5ouma/mli

📑 Manage macOS Login Items
https://github.com/5ouma/mli

go golang login-items mac macos

Last synced: 4 months ago
JSON representation

📑 Manage macOS Login Items

Awesome Lists containing this project

README

          

mli

**📑 Manage macOS Login Items**


[![GitHub Release](https://img.shields.io/github/v/release/5ouma/mli?label=Release&style=flat-square)](https://github.com/5ouma/mli/releases)
![GitHub Downloads](https://img.shields.io/github/downloads/5ouma/mli/total?label=Downloads&style=flat-square)
[![Go Docs](https://godoc.org/github.com/golang/gddo?status.svg)](https://pkg.go.dev/github.com/5ouma/mli)
[![Go Report Card](https://goreportcard.com/badge/github.com/5ouma/mli?style=flat-square)](https://goreportcard.com/report/github.com/5ouma/mli)


[![CI](https://img.shields.io/github/actions/workflow/status/5ouma/mli/ci.yml?label=CI&style=flat-square)](https://github.com/5ouma/mli/actions/workflows/ci.yml)
[![Release](https://img.shields.io/github/actions/workflow/status/5ouma/mli/release.yml?label=Release&style=flat-square)](https://github.com/5ouma/mli/actions/workflows/release.yml)
[![pre-commit](https://img.shields.io/github/actions/workflow/status/5ouma/mli/pre-commit.yml?label=pre-commit&style=flat-square)](https://github.com/5ouma/utils/actions/workflows/mli.yml)
[![codecov](https://codecov.io/gh/5ouma/mli/graph/badge.svg)](https://codecov.io/gh/5ouma/mli)

![Repobeats Analytics Image](https://repobeats.axiom.co/api/embed/0dc7cdae7e36b4c193bce1f056102842dc7abaf9.svg)



## đŸ“Ĩ Installation

- đŸē Homebrew

```sh
brew install 5ouma/tap/mli
```


- 🐹 Go

```sh
go install github.com/5ouma/mli@latest
```


- 🐙 [GitHub Releases](https://github.com/5ouma/mli/releases)

```sh
curl -L "https://github.com/5ouma/mli/releases/latest/download/mli_$(uname)_$(uname -m).tar.gz" | tar -x 'mli'
```

```sh
gh release download -R='5ouma/mli' -p="mli_$(uname)_$(uname -m).tar.gz"
tar -xf "mli_$(uname)_$(uname -m).tar.gz" 'mli'
```



## 📊 Usage

```sh
📑 Manage macOS Login Items with JSON

Usage:
mli [command]

Available Commands:
check Check Login Items
help Help about any command
load Load Login Items
save Save Login Items

Flags:
-h, --help help for mli
-v, --version version for mli

Use "mli [command] --help" for more information about a command.
```



## đŸ•šī¸ Commands

### 📂 `Load`

```sh
📂 Load Login Items from JSON file

Usage:
mli load [flags]

Flags:
--file string Load from this JSON file (default "./login_items.json")
-h, --help help for load
```





Load command GIF image generated by VHS


### 💾 `Save`

```sh
💾 Save Login Items to JSON file

Usage:
mli save [flags]

Flags:
--file string Save to this JSON file (default "./login_items.json")
-f, --force Overwrite existing file
-h, --help help for save
```





Load command GIF image generated by VHS

### 🔍 `Check`

```sh
🔍 Check the Login Items are up-to-date

Usage:
mli check [flags]

Flags:
--file string Check Login Items from this JSON file (default "./login_items.json")
-h, --help help for check
```





Check command GIF image generated by VHS



## 🆘 Help

- [**âš ī¸ Issues**]: Feature Requests or Bug Reports
- [**đŸ’Ŧ Discussions**]: General Chats or Questions
- [**đŸ›Ąī¸ Security Advisories**]: Security Issues that should not be public

[**âš ī¸ Issues**]: https://github.com/5ouma/mli/issues/new/choose
[**đŸ’Ŧ Discussions**]: https://github.com/5ouma/mli/discussions/new/choose
[**đŸ›Ąī¸ Security Advisories**]: https://github.com/5ouma/mli/security/advisories/new



## đŸŽŊ Contributing

I happily welcome your contributions!
Before you contribute,
I would recommend reading [CONTRIBUTING.md](../.github/CONTRIBUTING.md) for a better development experience.



## 💡 Inspired by

- [🚀 **blacktop / lporg**](https://github.com/blacktop/lporg)
- [âŒ¨ī¸ **miclf / macos_keyboard_shortcuts_exporter_importer.php**](https://gist.github.com/miclf/bf4b0cb6de9ead726197db7ed3d937b5)