文件名称:hasbin-cli:在命令行中,检查PATH环境变量中是否存在二进制文件
文件大小:23KB
文件格式:ZIP
更新时间:2024-05-27 23:03:19
cli binary path bin hasbin
哈斯宾 在命令行中,检查PATH环境变量中是否存在二进制文件。 用法 确保已安装一个或多个程序。 hasbin foreman heroku || echo ' Foreman and heroku are required! ' && exit 1 hasbin --all foreman heroku || echo ' Foreman and heroku are required! ' && exit 1 确保至少安装了一个程序。 hasbin --some brew apt-get || echo ' Please install a package manager. ' && exit 1 返回已安装的第一个程序的名称。 echo ' Your package manager is: ' && hasbin --first brew apt-get 安装 npm i
【文件预览】:
hasbin-cli-main
----.eslintrc.yml(776B)
----package.json(1KB)
----.prettierignore(31B)
----LICENSE(1KB)
----package-lock.json(64KB)
----.prettierrc.yml(70B)
----.gitignore(1KB)
----CHANGELOG.md(239B)
----.circleci()
--------config.yml(387B)
----README.md(1KB)
----cli.js(768B)