All Projects → rgcr → M Cli

rgcr / M Cli

Licence: mit
 Swiss Army Knife for macOS

Programming Languages

shell
77523 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to M Cli

You Dont Need Gui
Stop relying on GUI; CLI **ROCKS**
Stars: ✭ 4,766 (-44.88%)
Mutual labels:  cli, mac
Reminders Cli
Command-line interface to interact with the Reminders.app
Stars: ✭ 67 (-99.23%)
Mutual labels:  cli, mac
Spotify Cli Mac
🎶 A nodejs app to control Spotify without leaving your terminal. 🎶
Stars: ✭ 134 (-98.45%)
Mutual labels:  cli, mac
Commander
Test your command line interfaces on windows, linux and osx and nodes viá ssh and docker
Stars: ✭ 183 (-97.88%)
Mutual labels:  sh, cli
Geo
🌎 A Bash utility for easy wan, lan, router, dns, mac address, and geolocation output, with clean stdout for piping
Stars: ✭ 225 (-97.4%)
Mutual labels:  sh, cli
Dev Setup
macOS development environment setup: Easy-to-understand instructions with automated setup scripts for developer tools like Vim, Sublime Text, Bash, iTerm, Python data analysis, Spark, Hadoop MapReduce, AWS, Heroku, JavaScript web development, Android development, common data stores, and dev-based OS X defaults.
Stars: ✭ 5,590 (-35.35%)
Mutual labels:  cli, mac
Eiskaltdcpp
File sharing program using DC and ADC protocols
Stars: ✭ 277 (-96.8%)
Mutual labels:  cli, mac
Nord Iterm2
An arctic, north-bluish clean and elegant iTerm2 color scheme.
Stars: ✭ 651 (-92.47%)
Mutual labels:  cli, mac
Sandman Lite
A Lightweight Script Built With Late Night Developers In Mind
Stars: ✭ 64 (-99.26%)
Mutual labels:  mac
Flask Konch
An improved shell command for the Flask CLI
Stars: ✭ 65 (-99.25%)
Mutual labels:  cli
Opi
OBS Package Installer (CLI)
Stars: ✭ 64 (-99.26%)
Mutual labels:  cli
Msvgc
Make React components from your plain SVG files
Stars: ✭ 64 (-99.26%)
Mutual labels:  cli
Scripts
💡 A collection of random scripts.
Stars: ✭ 65 (-99.25%)
Mutual labels:  mac
Corella
Beautiful correlation plots for the terminal
Stars: ✭ 64 (-99.26%)
Mutual labels:  cli
Handroll
🍣 Expertly rolled JavaScript. CLI + library for bundling JavaScript with Rollup.js
Stars: ✭ 66 (-99.24%)
Mutual labels:  cli
Nat
nat - the 'ls' replacement you never knew you needed
Stars: ✭ 1,129 (-86.94%)
Mutual labels:  cli
Ishell
Library for creating interactive cli applications.
Stars: ✭ 1,127 (-86.97%)
Mutual labels:  cli
Guaka
The smartest and most beautiful (POSIX compliant) Command line framework for Swift 🤖
Stars: ✭ 1,145 (-86.76%)
Mutual labels:  cli
Telosys Cli
Telosys v 3 CLI - Command Line Interface
Stars: ✭ 66 (-99.24%)
Mutual labels:  cli
Branchsite
CLI tool for publishing your static website to a separate branch
Stars: ✭ 65 (-99.25%)
Mutual labels:  cli

 m-cli

💥 Swiss Army Knife for macOS !

Overview
Install
Uninstall
How To Use
All Commands
Contributing

Overview

m-cli is a macOS command line tool that lets you interact with utilities and applications entirely in Terminal. It differs from other macOS command line tools in the following ways:

  • You can easily manage administrative tasks
  • It doesn't install 3rd party tools since it doesn't have dependencies
  • Installation is easy and doesn't require intervention
  • It only uses macOS commands

Install

You can install m-cli using Homebrew, or you can manually install it.

Homebrew install

If you have Homebrew installed, run:

brew install m-cli

Manual install

If you want to manually install m-cli, run:

curl -fsSL https://raw.githubusercontent.com/rgcr/m-cli/master/install.sh | sudo sh

You can also install it to a different path, shown below:

INSTALL_DIR=$HOME/.m-cli sh <(curl -fsSL https://raw.githubusercontent.com/rgcr/m-cli/master/install.sh)

Note: Certain plugins, such as that for the "gatekeeper" command, will not work if m-cli is installed with standard user privilege. Certain plugins, such as that for the "trash" command, will not work until and unless your terminal emulator is granted Full Disk Access (look under "Security & Privacy" in System Preferences).

Uninstall

To uninstall m-cli from your system, run:

m --uninstall

How To Use

m-cli commands are executed using the following steps:

1. Run mto display all of the commands (utilities) available in m-cli.

2. Run m <command> to display the options available for this command.

3. Run m <command> <option> to execute an option for this command.

A diagram of this structure is shown below:

m
|___itunes
|     |___status
|     |___play
|     |___pause
|     |
|     ...
|
|___disk 
      |___ls
      |___list
      |___fs
      ...

For example, running m itunes will display the options available for iTunes, as shown below:

    usage: m itunes [ status | play | pause | next | prev | mute | unmute | vol up | vol down | vol #| stop | quit | help ]

    Examples:
      m itunes status       # Show status
      m itunes play         # Play track
      m itunes pause        # Pause track
      m itunes next         # Play next track
      m itunes prev         # Play previous track
      m itunes mute         # Mute iTunes
      m itunes unmute       # Unmute iTunes
      m itunes vol up       # Volume Up
      m itunes vol down     # Volume Down
      m itunes vol #        # Set volume level
      m itunes stop         # Stop track
      m itunes quit         # Quit iTunes

In this example, running m itunes play will play the current selected track in your iTunes music library.

All Commands

m-cli currently supports the following commands:

help
airdrop
appearance
audio
battery
bluetooth
dir
disk
display
dns
dock
fan
finder
firewall
flightmode
gatekeeper
group
hostname
info
itunes
localhost
lock
network
nosleep
notification
ntp
printer
restart
safeboot
screensaver
service
shutdown
sleep
timezone
touchbar
trash
update
user
volume
vpn
wallpaper
wifi

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request 🤘

TODO:

  • Add more plugins
  • Improve the help
  • Improve the installation script

Resources:

Thanks

guarinogabriel/Mac-CLI was a great source of inspiration.


MIT License © Rogelio Cedillo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].