lunchy

A friendly wrapper for launchctl

  • 所有者: eddiezane/lunchy
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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

gem install lunchy

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

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

Mike Perham, @mperham, mikeperham.com

主要指标

概览
名称与所有者eddiezane/lunchy
主编程语言Ruby
编程语言Ruby (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2011-03-23 22:29:39
推送于2021-02-15 21:49:27
最后一次提交
发布数9
最新版本名称v0.10.4 (发布于 2015-10-09 12:23:57)
第一版名称v0.4.0 (发布于 )
用户参与
星数3k
关注者数52
派生数117
提交数97
已启用问题?
问题数31
打开的问题数2
拉请求数31
打开的拉请求数1
关闭的拉请求数7
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?