willfarrell/alfred-pkgman-workflow
关于
包管理器搜索
开发工具实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Package Managers (Download latest release)
Package Repo Search
Quick package/plugin/component (repo) lookup for your favourite package managers.
Featured on Smashing Magazine in 2013.
PATH Variable
With macOS ≥12.3 Monterey no longer providing PHP, it's now a prerequisite to install your own.
Simplest way to install it yourself is via brew install php.
If you don’t have Homebrew, you can install it via instructions on their homepage, brew.sh.
The PATH variable needs to capture not only where PHP is installed, but also where Bash is. Here are two variations:
- Intel Macs:
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin - Apple Silicon Macs:
/opt/homebrew/bin:/usr/bin:/bin:/usr/sbin:/sbin
The workflow has this set as its default $PATH so it will work on either style of Mac.
/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:${PATH}
Commands
Local Cache Management Commands
pkgman cleardb: Clear local database cache filespkgman cachedb: Update local database cache files
Package Repository Search Commands
alcatraz {query}: Cocoa Packagesapt-get {query}: Ubuntu Packagesbower {query}: Bower Components for JavaScriptbrew {query}: Homebrew Forumale/Caskchef {query}: Chef Cookbookscocoa {query}: CocoaPods can be upgraded to CocoaDocs by changing$apple_docsto true in the script.composer {query}: PHP Composer Packagescordova {query}: Apache Cordova pluginsdocker {query}: Docker Imagesdefinitelytyped {query}: DefinitelyTyped TypeScript Definitionsgems {query}: Ruby Gemsgradle {query}: Java Gradle Packagesgrunt {query}: Node.js task-runner Grunt Pluginsgulp {query}: Node.js task-runner Gulp Pluginshackage {query}: Haskell package archivehex {query}: Elixir Hex Packagesmaven {query}: Java Maven Librariesmetacran {query}: R Packagesnpm {query}: Node.js NPM Packagesnuget {query}: .Net NuGet Packagespear {query}: PHP Pear Packagespuppet {query}: Puppet Modulespypi {query}: Python Packagesraspbian {query}: Rasberry Pi Packagesrpm {query}: Red Hat Linux Packagessnap {query}: Snapcraft Packagesst {query}: Sublime Text Packagesyarn {query}: Yarn Packagesyo {query}: Yeoman Generators
Action Modifiers
default: open README page urlcmd: copy name/id to frontmost appshift: copy config file name/id and version to frontmost app
Additional Notes
All workflows require an internet connection.
Workflows can break from time to time due to changes by the provider of the repo. If you notice a workflow stops working, please file an Issue.
All repos have caching enabled to speed up common queries. These caches are refreshed after 14 days and may take longer than expected to return results during update. You can force a cache refresh by running pkgman cachedb to re-download the databases (applies to alcatraz, grunt, cocoa). Alternatively you can run pkgman cleardb to remove all stored cache, but this isn't recommended. Clearing your cache is recommended after an update if the package manager you use had a bug previously.
The Python Package Index is very slow due to a lack on API and pagination. A min query length has been put in place to help speed this up. You can change it in the script, $min_query_length = 3. Perhaps someone with a python background can improve this.
Contribution
Please see CONTRIBUTING.md for details

探索相关项目
加载中…