Code Monkey home page Code Monkey logo

alfred-homebrew's Introduction

Homebrew and Cask for Alfred

Easily control Homebrew and Cask with Alfred.

Homebrew & Cask for Alfred Screenshot

Features

  • Script filters brew and casks with support for the following commands:
    • doctor, info, install, list, search, services, uninstall, update and upgrade
  • Background cache refresh

Installation

Download the latest release and double click on the .alfredworkflow file, or use packal.

Configuration

If you installed Homebrew Cask and changed where the applications are installed by adding a line like this to your .bash_profile or .zshenv:

# Specify your defaults in this environment variable
export HOMEBREW_CASK_OPTS="--appdir=/Applications"

You need to update workflow's settings accordingly to your configuration.

Alfred Homebrew Configuration

Credits

This workflow uses Github Octicons and alfred-workflow.

alfred-homebrew's People

Contributors

abbasegbeyemi avatar apoleshchuk avatar edalzell avatar erikminekus avatar fniephaus avatar gilluminate avatar harrtho avatar neberheim avatar terminalfi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alfred-homebrew's Issues

Deprecated api causes no results

Describe the Bug

Brew search/install produces no results with deprecation errors.

Steps to Reproduce

  1. Write brew search a (or brew install)
  2. Observe error

Expected Behavior

Listing available packages that starts with a

Actual Behavior

Shows error like that:
brew install Warning: Calling 'brew search' with no arguments to output formulae is deprecated! Use 'brew formulae' instead.

Additional Context

image

Homebrew 2.7.5
macOS 11.1

support for iTerm

Is it possible to have the brew/cask commands work with iTerm? The open with normal terminal for me

"brew list" does not show anything

When I do "brew list" I see only "Search ... for brew list", but no brew packages.
This is the output of python brew.py "list"

09:48:22 workflow.py:2053 DEBUG    Update check not due
09:48:22 workflow.py:1544 DEBUG    Loading cached data from : /Users/outcoldman/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.homebrew/__workflow_update_status.cpickle
09:48:22 workflow.py:1544 DEBUG    Loading cached data from : /Users/outcoldman/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.homebrew/brew_not_installed.cpickle
09:48:22 workflow.py:1544 DEBUG    Loading cached data from : /Users/outcoldman/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.homebrew/brew_installed_formulas.cpickle
<?xml version="1.0" encoding="utf-8"?>
<items><item valid="yes"><title>ant 1.9.3 1.9.4</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/ant.rb &amp;&amp; exit</arg></item><item valid="yes"><title>autoconf 2.69</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/autoconf.rb &amp;&amp; exit</arg></item><item valid="yes"><title>automake 1.14.1</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/automake.rb &amp;&amp; exit</arg></item><item valid="yes"><title>boost 1.56.0</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/boost.rb &amp;&amp; exit</arg></item><item valid="yes"><title>class-dump 3.5</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/class-dump.rb &amp;&amp; exit</arg></item><item valid="yes"><title>cmake 2.8.12.2 3.0.0 3.0.1 3.0.2</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/cmake.rb &amp;&amp; exit</arg></item><item valid="yes"><title>docker 1.3.1 1.3.2</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/docker.rb &amp;&amp; exit</arg></item><item valid="yes"><title>gdbm 1.11</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/gdbm.rb &amp;&amp; exit</arg></item><item valid="yes"><title>git 1.9.1 1.9.2 2.0.0 2.0.1 2.1.0 2.1.2 2.1.3</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/git.rb &amp;&amp; exit</arg></item><item valid="yes"><title>go 1.3.3</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/go.rb &amp;&amp; exit</arg></item><item valid="yes"><title>htop-osx 0.8.2.2</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/htop-osx.rb &amp;&amp; exit</arg></item><item valid="yes"><title>httpie 0.8.0</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/httpie.rb &amp;&amp; exit</arg></item><item valid="yes"><title>jmeter 2.11 2.12</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/jmeter.rb &amp;&amp; exit</arg></item><item valid="yes"><title>libevent 2.0.21 2.0.21_1</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/libevent.rb &amp;&amp; exit</arg></item><item valid="yes"><title>libtool 2.4.2</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/libtool.rb &amp;&amp; exit</arg></item><item valid="yes"><title>mongodb 2.6.0_1 2.6.1 2.6.2 2.6.3 2.6.4_1 2.6.5</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/mongodb.rb &amp;&amp; exit</arg></item><item valid="yes"><title>ngrok 1.6 1.7</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/ngrok.rb &amp;&amp; exit</arg></item><item valid="yes"><title>ninja 1.5.1</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/ninja.rb &amp;&amp; exit</arg></item><item valid="yes"><title>node 0.10.26 0.10.28 0.10.29 0.10.31 0.10.33 0.10.33_1</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/node.rb &amp;&amp; exit</arg></item><item valid="yes"><title>openssl 1.0.1g 1.0.1h 1.0.1i 1.0.1j</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/openssl.rb &amp;&amp; exit</arg></item><item valid="yes"><title>p7zip 9.20.1</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/p7zip.rb &amp;&amp; exit</arg></item><item valid="yes"><title>perforce 2014.1.821990</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/perforce.rb &amp;&amp; exit</arg></item><item valid="yes"><title>python 2.7.6_1 2.7.7_1 2.7.7_2 2.7.8 2.7.8_1 2.7.8_2</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/python.rb &amp;&amp; exit</arg></item><item valid="yes"><title>readline 6.2.4 6.3.3 6.3.6 6.3.8</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/readline.rb &amp;&amp; exit</arg></item><item valid="yes"><title>sqlite 3.8.4.3 3.8.5 3.8.6 3.8.7 3.8.7.1</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/sqlite.rb &amp;&amp; exit</arg></item><item valid="yes"><title>ssh-copy-id 6.6p1</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/ssh-copy-id.rb &amp;&amp; exit</arg></item><item valid="yes"><title>tig 1.2.1 2.0.1 2.0.2 2.0.3</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/tig.rb &amp;&amp; exit</arg></item><item valid="yes"><title>tmux 1.9a</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/tmux.rb &amp;&amp; exit</arg></item><item valid="yes"><title>tree 1.7.0</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/tree.rb &amp;&amp; exit</arg></item><item valid="yes"><title>unrar 5.1.4 5.1.5 5.1.6 5.1.7 5.2.1 5.2.2</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/unrar.rb &amp;&amp; exit</arg></item><item valid="yes"><title>wget 1.15_1 1.15_2 1.16</title><subtitle>Open on GitHub</subtitle><arg>open https://github.com/Homebrew/homebrew/tree/master/Library/Formula/wget.rb &amp;&amp; exit</arg></item></items>09:48:22 background.py:180 DEBUG    Command arguments cached to `/Users/outcoldman/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.homebrew/brew_refresh.argcache`
09:48:22 background.py:184 DEBUG    Calling [u'/usr/bin/python', '/Users/outcoldman/dev/github/alfred-homebrew/src/workflow/background.pyc', 'brew_refresh'] ...
09:48:22 workflow.py:1907 DEBUG    Workflow finished in 0.001 seconds.
09:48:22 workflow.py:1907 DEBUG    Workflow finished in 0.002 seconds.
09:48:22 background.py:189 DEBUG    Executing task `brew_refresh` in background...

And this is my output of brew list

ant     class-dump  go      libtool     openssl     sqlite      unrar
autoconf    cmake       htop-osx    mongodb     p7zip       ssh-copy-id wget
automake    docker      httpie      ngrok       perforce    tig
boost       gdbm        jmeter      ninja       python      tmux
brew-cask   git     libevent    node        readline    tree

Brew services support

Hello there,
Very nice workflow. Have you considered adding support for brew services?

It would be extremely useful for managing services (list, start, stop, restart, etc.)

Would be a nice addition to the workflow 😉

I have a path problem when using this workflow, don't you have?

While, the workflow doesn't work on my M1 mac, I got some error message in the debug window of Alfred

  File "brew.py", line 41, in get_outdated_formulae
    return execute(wf, ['brew', 'outdated', '--formula']).splitlines()
  File "brew.py", line 22, in execute
    env=new_env).communicate()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

I see return execute(wf, ['brew', 'outdated', '--formula']).splitlines() and my homebrew installation path is /opt/homebrew/bin/brew, this path is not in the Alfred bash environment variable $PATH. So I changed brew from the command to its full path and now the workflow works fine, but why don't you have this problem? I didn't change the default installation path of homebrew, is yours in the same place?

Cask script results in brew-cask usage info

Hi,

I have a problem with cask script.
Whenever I try to execute, for example, cask list, brew-cask usage info is showed in Alfred results instead of casks list. Clicking any item in results leads to wrong query execution. (same for install / uninstall, search, alfred and home)
Brew works fine.

cask

Cask config:

{
  "HOMEBREW_CASK_OPTS": {
    "appdir": "/Applications", 
    "caskroom": "/opt/homebrew-cask/Caskroom"
  }, 
  "__workflow_last_version": "3.1.0"
}

Could you please advise any solution?

cask 'dict' object has no atribute 'name'

Switching to Alfred 4 seems to throw an error on cask. I went back to Alfred 3 to verify it.

image

Although on Alfred 3, even when doesn't throws an error; it only shows this as an option:

image

With Alfred 3 I can still see the list of casks installed.

image

Here is the error thrown by the debugger console right after I type 'cask' on Alfred 4.

[11:02:49.655] Homebrew & Cask for Alfred[Script Filter] Queuing argument ''
[11:02:49.837] Homebrew & Cask for Alfred[Script Filter] Script with argv '(null)' finished
[11:02:49.841] ERROR: Homebrew & Cask for Alfred[Script Filter] Code 1: .
11:02:49 workflow.py:2055 DEBUG ---------- Homebrew & Cask for Alfred (4.8.0) ----------
11:02:49 workflow.py:1462 DEBUG reading settings from /Users/rodri/Library/Application Support/Alfred/Workflow Data/com.fniephaus.homebrew/settings.json
11:02:49 workflow.py:2339 DEBUG update check not due
11:02:49 workflow.py:1689 DEBUG loading cached data: /Users/rodri/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.fniephaus.homebrew/__workflow_update_status.cpickle
11:02:49 workflow.py:2269 DEBUG update_data: {u'available': False}
11:02:49 workflow.py:1689 DEBUG loading cached data: /Users/rodri/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.fniephaus.homebrew/cask_installed.cpickle
11:02:49 workflow.py:1689 DEBUG loading cached data: /Users/rodri/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.fniephaus.homebrew/cask_configured.cpickle
11:02:49 workflow.py:2074 ERROR 'dict' object has no attribute 'name'
Traceback (most recent call last):
File "/Users/rodri/Documents/Alfred.alfredpreferences/workflows/user.workflow.E6B64928-9F26-4A62-A79E-C2B4DB5C8655/workflow/workflow.py", line 2067, in run
func(self)
File "cask.py", line 137, in main
config = next(a for a in cask_actions.ACTIONS if a.name == 'config')
File "cask.py", line 137, in
config = next(a for a in cask_actions.ACTIONS if a.name == 'config')
AttributeError: 'dict' object has no attribute 'name'
11:02:49 workflow.py:2097 DEBUG ---------- finished in 0.030s ----------
[11:02:49.842] Homebrew & Cask for Alfred[Script Filter]
<title>Error in workflow 'Homebrew & Cask for Alfred'</title>'dict' object has no attribute 'name'/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns

cask command prompt "sudo: no tty present and no askpass program specified"

When I try to use one of the following cask command list | search | install | uninstall (i.e: any command which uses one of get_all_casks() or get_installed_casks() method), I get this item added to alfred list sudo: no tty present and no askpass program specified.

I investigated a little using debug mode and found that I needed to add my own export HOMEBREW_CASK_OPTS="--appdir=/Applications --caskroom=/usr/local/Caskroom" right after export PATH because I'm tweaking where Homebrew Cask is installed and where it installs my applications.

This may be useful to other people in the future.

BTW, thanks for your awesome work! It perfectly suits my needs.

Python background process hogging cpu

Everytime i use the workflow and simply be done with it, the python opened by this workflow is not closed.It simply keeps running while hogging cpu.Please see the image attached.
screen shot 2017-05-05 at 9 20 58 pm

any idea why this keeps happening?
I'm on sierra 10.12.4 fresh install

Getting the error: Cask does not seem to be installed.

As shown in the image below, even though cask is installed and work normally. I can't do cask config as that returns nothing. I tried both options, the first just opens the website to show you how to install brew, and the second did not fix anything.

image

iTerm2 Support

Current brew and cask commands are opened in Terminal.app. Would it be possible to open in iTerm2 instead?

Update paths to not be hardcoded

Motivation

I run a custom brew install (no access to /usr/local), so this workflow does not work.

Proposed Solution

Replace the hardcoded paths with variables that can be set on install.

Alternatives

The alternative is hardcoded paths, which don't work because then there is no support for users like me.

Additional Context

N/A

Not working in Monterey 12.3

Since I have updated to Monterey, I can't get the workflow to work anymore.

This is the error I receive:

Homebrew & Cask for Alfred[[Script Filter] Queuing argument ''
Homebrew & Cask for Alfred[[Script Filter] Script with argv '(null)' finished
ERROR: Homebrew & Cask for Alfred[[Script Filter]Code 127: /bin/bash: python: command not found

cask update is deprecated

command should be removed..

$ brew cask update
Warning: Calling brew cask update is deprecated and will be disabled on 2017-07-01!
Use brew update instead.
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:115:in `run_command'

==> fatal: unable to access 'https://github.com/Homebrew/brew/': Could not resol
==> fatal: unable to access 'https://github.com/Homebrew/homebrew-core/': Could
==> fatal: unable to access 'https://github.com/ravenac95/homebrew-sudolikeaboss
==> fatal: unable to access 'https://github.com/caskroom/homebrew-cask/': Could
==> Error: Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fail
==> Fetching /usr/local/Homebrew/Library/Taps/ravenac95/homebrew-sudolikeaboss f
==> Fetching /usr/local/Homebrew failed!
==> Fetching /usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask failed!

Add Proxy

Hi,

is it possible to add a http & https proxy configuration that can be quickly enabled/disabled? I need to connect to my company VPN which requires the use of a proxy. I disable the proxy when I'm not connected anymore..

Sourcing my proxy config script doesn't work if I do it (in iTerm) before executing the workflow.

#!/bin/bash

case "$1" in
Enable|enable|E|e|"")
export http_proxy=abc:1234
export https_proxy=abc:1234
echo "proxy is enabled"
;;
Disable|disable|D|d)
export http_proxy=
export https_proxy=
echo "proxy is disabled"
;;
*) echo "unknown parameter specified"
;;
esac

Plugin uses 100% of CPU until force quit

I experience that my Mac sometimes gets really hot, at makes a lot of noice. Each time this has happend (~twice a month), the process that is using all the resources are a python-process form this plugin (see image). It keeps using about 100% of the CPU until I force quit it.

skjermbilde 2017-05-19 kl 14 57 10

I'm not sure if I use the latest version or not. I think I installed the plugin about two months ago.

`cask config` shows an error

Not that I need the option, but it’s erroring out, for me.
image

I’ve tried deleting ~/Library/Application Support/Alfred 3/Workflow Data/com.fniephaus.homebrew, and it still happens. The contents of settings.json are simply:

{
  "__workflow_last_version": "4.1.0"
}

Using Alfred 3.0.1 and latest OS X (10.11.5).

Upgrade to Homebrew python3 version

Motivation

I had the same problems as anyone after upgrading to Monterey. After a long time of waiting for a solution, unfortunately it seems that the author of the original alfred-workflow library is inactive (his good right to do whatever he wants to do 🙂).

As I was using his workflows a lot, I decided to fork and port his library to python3: alfred-pyworkflow. I know the name is not quite creative 😅. In the end the best solution would be that the original author would continue, but until this day I will move on with "my" solution.

The alfred-homebrew workflow also relays on the python2 alfred-workflow and is not working anymore.

Proposed Solution

I added the alfred-pyworkflow library and refactored the code to use python3 and the library.

In Alfred 5 with the Gallery beta, the author of Alfred also introduced homebrew as a solution for workflow dependencies. The workflow now will use the location of python3 from the homebrew installation /usr/local/bin/python3 the system PATH via. /usr/bin/env python3. The python3 location on ARM Macs is at /opt/homebrew/bin/python3 Homebrew/discussions#476 (comment) and not at /usr/local/bin/python3. This makes the homebrew install feature of this workflow useless, as it's now a hen / egg problem (needs homebrew to install python3 / needs python3 to install homebrew). I guess for the sake of solution this can be considered as "OK" for now an can be cleaned-up late.

Please take a look at the solution (if you find the time review the changes critical, as we both would benefit from it)

And when I'm already here: Thank you for your alfred-homebrew workflow!

brew cask search is deprecated

brew cask search has been deprecated. brew search now returns formulae and Casks, like so:

$ brew search github
==> Formulae
github-keygen                         github-markdown-toc                   github-release

==> Casks
github                                github-beta                           githubpulse

I don't have the time currently to come up with a fix, but I'm reporting it so other people are aware.

Fails to detect brew installation

Every time I invoke the brew keyword, I get the "Brew does not seem to be installed!" response.
Running brew.py from the command line gives me the following output:

❯❯❯ python brew.py
15:56:43 workflow.py:2181 DEBUG    update_data : None
15:56:43 workflow.py:1646 DEBUG    Cached data saved at : /Users/username/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.homebrew/brew_not_installed.cpickle
15:56:43 workflow.py:1640 DEBUG    Deleted cache file : /Users/username/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.homebrew/brew_not_installed.cpickle
<?xml version="1.0" encoding="utf-8"?>
<items><item valid="yes"><title>Brew does not seem to be installed!</title><subtitle>Hit enter to see what you need to do...</subtitle><arg>open http://brew.sh/#install &amp;&amp; exit</arg></item><item valid="yes"><title>I trust this workflow</title><subtitle>Hit enter to install brew...</subtitle><arg>ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"</arg></item></items>15:56:43 background.py:188 DEBUG    Command arguments cached to `/Users/username/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.homebrew/brew_refresh.argcache`
15:56:43 background.py:192 DEBUG    Calling [u'/usr/bin/python', '/Users/username/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.E778ECED-BC68-4C39-B09D-02ED144B4194/workflow/background.pyc', 'brew_refresh'] ...
15:56:43 workflow.py:1972 DEBUG    Workflow version : 3.2.0
15:56:43 workflow.py:2008 DEBUG    Workflow finished in 0.019 seconds.
15:56:43 workflow.py:2008 DEBUG    Workflow finished in 0.019 seconds.
15:56:43 background.py:197 DEBUG    Executing task `brew_refresh` in background...

I can confirm that my brew installation is in the standard location:

❯❯❯ which brew
/usr/local/bin/brew

Cask is not configured

After the latest PR #36 error at configuration of cask appears:
image

It looks like there is a new conflicting package:

Seems like there is now a font-sudo Cask, so this check breaks cask install:

if 'sudo' in result:
return 'Config'
I guess this check is there in case you changed HOMEBREW_CASK_OPTS? Maybe there's a better way to check for that?
by @ErikMinekus

This is a not so elegant solution I made. Probably breaks the purpose of the if in the first place:

 if 'sudo' in result:
     if 'font-sudo' not in result:
          return 'Config'

Only use one terminal window

Is it possible to execute all commands in one terminal window? The workflow opens a new terminal window every time..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.