• Stars
    star
    2,935
  • Rank 15,442 (Top 0.4 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 13 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A friendly wrapper for launchctl

lunchy

A friendly wrapper for launchctl. Start your agents and go to lunch!

Don't you hate OSX's launchctl? You have to give it exact filenames, the syntax is annoyingly different from Linux's, and it is overly verbose. It's just not a very developer-friendly tool.

Lunchy aims to be that friendly tool by wrapping launchctl and providing a few simple operations that you perform all the time:

  • ls [pattern]
  • start [pattern]
  • stop [pattern]
  • restart [pattern]
  • status [pattern]
  • install [file]
  • uninstall [pattern]
  • show [pattern]
  • edit [pattern]

where pattern is just a substring that matches the agent's plist filename. If you don't use a unique pattern, Lunchy will warn you of this and give you a list of the matching items instead.

So instead of:

launchctl load ~/Library/LaunchAgents/io.redis.redis-server.plist

you can do this:

lunchy start redis

and:

> lunchy ls
com.danga.memcached
com.google.keystone.agent
com.mysql.mysqld
io.redis.redis-server
org.mongodb.mongod

The original name was supposed to be launchy. Lunchy isn't a great name but gem names are like domains, most of the good ones are taken. :-(

Installation

Using RubyGems

gem install lunchy

Lunchy is written in Ruby because I'm a good Ruby developer and a poor Bash developer. Help is welcome.

Using Homebrew

brew install lunchy

Thanks

Thanks to all the individual contributors who've improved Lunchy, see credits in History.md.

Lunchy was written as part of my project time at Carbon Five. They're hiring if you love working on Ruby and open source.

About

More Repositories

1

sendgrid-actionmailer

Rails support via ActionMailer
Ruby
263
star
2

kubecon-eu-2021-automating-your-home-with-k3s-and-home-assistant-notes

61
star
3

terraform-provider-todoist

A Terraform Provider for Todoist built for a talk at HashiConf
Go
40
star
4

twitch-track-all-the-things

JavaScript
29
star
5

nyc-react-meetup-message-board

JavaScript
28
star
6

dotfiles

doot doot
Lua
20
star
7

kubernetes-observability-example

From New Cluster to Insight: Deploying Monitoring and Logging to Kubernetes
Makefile
16
star
8

react-twilio-video-post

JavaScript
15
star
9

es6-jspm-react-example

Quick demo using Giphy
JavaScript
10
star
10

todoist-rest-go

A Go library for Todoist's REST API
Go
9
star
11

that-conference-k8s-controller

https://that.us/activities/X8Xa0omyTU1FeP5QIX7k
Go
9
star
12

pikube

Configs for my local Raspberry Pi Kubernetes cluster
HCL
8
star
13

spoticall-node

JavaScript
6
star
14

kubectl-gitlab_bootstrap

Quickly add a Kubernetes cluster to a GitLab project
Go
5
star
15

next-slide-please

JavaScript
5
star
16

hello-client-go

Go
5
star
17

contribot

Reward open source contributors with swag!
JavaScript
5
star
18

kubectl-generate

kubectl generate is a proof on concept that attempts to tackle scaffolding yaml manifests
Go
4
star
19

no-ghosties

Go
4
star
20

spot-look-back

Saves your Spotify history in PostgreSQL
Go
4
star
21

TinyHttp

A very tiny HTTP client
PHP
3
star
22

Burrito-Decider

Because who doesn't like burritos?
JavaScript
3
star
23

twitch-ivr

JavaScript
2
star
24

kubectl-schema

Fetches API schema's of your cluster
Go
2
star
25

hook

A CLI tool for firing a collection of known webhooks
Go
2
star
26

Node-Auth-Example

JavaScript
2
star
27

github-oauth-example

JavaScript
2
star
28

TOKENIZEDIS

C
2
star
29

twitch-image-background-converter

JavaScript
2
star
30

twitch-follow-alerts-node

JavaScript
2
star
31

stackbot

Posts new Stack Overflow questions to HipChat
Ruby
1
star
32

twitch-live-chat-sms-node-app

JavaScript
1
star
33

stunning-waddle

JavaScript
1
star
34

Harlequin

Hollywood Hackday 2013
CSS
1
star
35

Pebble-SmartStart

C
1
star
36

open-source-summit-eu-2022-api-codegen

Show Me the Schema! RPCs and Learning to Love Code Gen
Python
1
star
37

hackpack-cloudbit

Arduino
1
star
38

Biographer

HackRU Spring 2013
Ruby
1
star
39

Electron-Twilio-IPM

https://www.twilio.com/blog/2015/12/getting-started-with-electron-building-a-desktop-chat-app.html
JavaScript
1
star
40

smtpapi-ruby

Build SendGrid X-SMTPAPI headers in Ruby.
Ruby
1
star
41

dodyndns

Updates a DigitalOcean domain record with your public IP
Go
1
star
42

Foto-Friendzy

TechGirlz Summer Camp 2014
JavaScript
1
star