[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10339":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":16,"starSnapshotCount":16,"syncStatus":35,"lastSyncTime":36,"discoverSource":37},10339,"m-cli","rgcr\u002Fm-cli","rgcr"," Swiss Army Knife for macOS ","",null,"Shell",9886,318,97,6,0,3,22,1,67.21,"MIT License",false,"main",true,[26,27,28,29,30,31],"bash","cli","looking-for-maintainer","mac","macos","sh","2026-06-12 04:00:49","#  m-cli\n\n> ⚠️ Version 2 includes breaking changes due to a new standardized syntax and improved shell autocompletion.\n> See the [changelog](CHANGELOG.md) for details.\n\n\n💥 **The Swiss Army Knife for macOS – in your Terminal!**\n\n- [Installation](#installation)\n- [Uninstallation](#uninstallation)\n- [Usage](#usage)\n- [Available Commands](#available-commands)\n- [Contributing](#contributing)\n- [Resources](#resources)\n\n---\n\n## Overview\n\n**m-cli** is a powerful command-line tool for macOS that enables you to control system functions, manage utilities, and tweak preferences – all from the Terminal.\n\n### Key Features:\n-  Manage system and admin tasks effortlessly\n-  No third-party dependencies\n-  Simple, non-intrusive installation\n-  Clean and safe – doesn’t modify your system unnecessarily\n\n## Support\n\nEnjoying this tool? Consider [supporting development](https:\u002F\u002Fwww.buymeacoffee.com\u002Frgcr) ☕\n\n\u003Ca href=\"https:\u002F\u002Fwww.buymeacoffee.com\u002Frgcr\">\u003Cimg src=\"https:\u002F\u002Fcdn.buymeacoffee.com\u002Fbuttons\u002Fv2\u002Fdefault-green.png\" alt=\"Buy Me A Coffee\" height=\"40\">\u003C\u002Fa>\n\n---\n## Installation\n\n###  Using [Homebrew](https:\u002F\u002Fbrew.sh\u002F)\n```sh\nbrew install m-cli\n```\n###  Or if you want to have the latest version\n```sh\nbrew install rgcr\u002Fformulae\u002Fm-cli\n```\n\n> **Note:** When installed via Homebrew, shell autocompletion scripts are installed and configured automatically for Bash, Zsh, and Fish. No additional setup is needed.\n\u003Cbr\u002F>\n\n###  Manual Installation\n```sh\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Frgcr\u002Fm-cli\u002Fmain\u002Finstall.sh | bash\n```\n\nEnsure that `${HOME}\u002F.local\u002Fbin` is in your `$PATH`. You can add it with:\n\n```sh\nexport PATH=\"${HOME}\u002F.local\u002Fbin:$PATH\"\n```\n\nAdd the line above to your shell config file (e.g. `~\u002F.bashrc`, `~\u002F.zshrc`) for persistence.\n\n\u003Cbr\u002F>\n\n---\n\n### Shell Autocompletion (Manual Installation)\n\nTo enable shell autocompletion for `m`, source the appropriate file based on your shell:\n\n#### Bash\n```sh\nsource ~\u002F.local\u002Fopt\u002Fm-cli\u002Fcompletions\u002Fbash\u002Fm\n```\n\nTo make it persistent, add the above line to your `~\u002F.bashrc` or `~\u002F.bash_profile`.\n\n#### Zsh\n```sh\nsource ~\u002F.local\u002Fopt\u002Fm-cli\u002Fcompletions\u002Fzsh\u002F_m\n```\n\nTo make it persistent, add the above line to your `~\u002F.zshrc`.\n\n#### Fish\n```fish\nsource ~\u002F.local\u002Fopt\u002Fm-cli\u002Fcompletions\u002Ffish\u002Fm.fish\n```\n\nTo make it persistent, add the line to `~\u002F.config\u002Ffish\u002Fconfig.fish`.\n\n---\n\n## Uninstallation\n\n###  Using Homebrew\n```sh\nbrew uninstall m-cli\n```\n\n### Manual Uninstall\n```sh\nm --uninstall\n```\n\n---\n\n## Usage\n\n- Run `m` to display all available commands.\n- Run `m \u003Ccommand> --help` to see usage options for any specific command.\n\nExample:\n```sh\nm dock --help\n```\n\n- Enjoy!\n\n---\n\n## Available Commands\n\n`airdrop` • `appearance` • `audio` • `battery` • `bluetooth` • `dir` • `disk` • `display` • `dns` • `dock`\n`fan` • `finder` • `firewall` • `flightmode` • `gatekeeper` • `group` • `hostname` • `hosts` • `info`\n`itunes` • `lock` • `network` • `nosleep` • `notificationcenter` • `ntp` • `powermode` • `printer`\n`restart` • `remotelogin` • `safeboot` • `screensaver` • `service` • `shutdown` • `sleep` • `timezone` • `touchbar`\n`trash` • `update` • `usb` • `user` • `volume` • `vpn` • `wallpaper` • `wifi`\n\n---\n\n### Notes\n- Some `macos` commands needs to be executed with `sudo` internally, so it's recommended you have `sudo` privileges.\n- The `trash` command will not work unless your terminal (e.g. `iTerm2`, `Terminal.app`) has the necessary permissions to access the Trash folder. You can grant this permission in `System Preferences > Security & Privacy > Privacy > Full Disk Access`.\n\n---\n\n\n## Contributing\n\nWe ❤️ contributions!\n\n1. Fork the repo\n2. Create your feature branch:\n   `git checkout -b my-new-feature`\n3. Commit your changes:\n   `git commit -m 'Add some feature'`\n4. Push the branch:\n   `git push origin my-new-feature`\n5. Open a Pull Request 🚀\n\n---\n\n## Resources\n\n- [macOS Command Line Reference (ss64)](https:\u002F\u002Fss64.com\u002Fosx\u002F)\n\n---\n\n## 🔗 More Projects\n\nIf you found this useful, you might also enjoy:\n\n- **[iproute-mac](https:\u002F\u002Fgithub.com\u002Frgcr\u002Fiproute-mac)** — Native Go implementation of Linux `iproute2` for macOS (`ip`, `bridge` & `ss`).\n  \n- **[t-mux-manager](https:\u002F\u002Fgithub.com\u002Frgcr\u002Ft-mux-manager)** — Lightweight tmux session and project manager written in Bash.\n\n- **[StickyShot](https:\u002F\u002Fgithub.com\u002Frgcr\u002Fstickyshot)** — Screenshot tool with floating sticky preview windows for macOS.\n  \n- **[Snape](https:\u002F\u002Fgithub.com\u002Frgcr\u002Fsnape)** — A Severus Snippet Manager for macOS.\n\n---\n\n© Rogelio Cedillo – Licensed under the [MIT License](LICENSE.md)\n","m-cli 是一个为 macOS 设计的强大命令行工具，允许用户通过终端控制系统功能、管理实用程序和调整偏好设置。其核心功能包括轻松管理系统和管理任务、无需第三方依赖、安装简单且不侵入系统，确保了使用的安全性和清洁性。技术上，它支持多种 shell 的自动补全，并可通过 Homebrew 或手动方式安装。适合需要高效管理和定制 macOS 系统的开发者或高级用户使用，特别适用于希望通过命令行快速执行日常任务的场景。",2,"2026-06-11 03:27:53","top_topic"]