Git Product home page Git Product logo

bru's Introduction

bru: A Nushell wrapper for Homebrew

License: MIT

๐Ÿ  Homepage

Install

cd $nu.default-config-path
git clone [email protected]:selfagency/bru.git
vi config.nu

Insert the line:

use ./bru/bru

Usage

bru [subcommand] [parameters] [options]

Subcommands

config

Show Homebrew and system configuration info useful for debugging.

Usage

bru config [key]

Parameters

  • key: The key to show. If not specified, all keys will be shown.

deps

Show dependencies for formula/e. When given multiple formulae, show the intersection of dependencies for each formula. If no formula/e is given, show dependencies for all installed formulae.

Usage

bru deps [formula]

Parameters

  • formula: Formula/e to show dependencies for

deps missing

Check the given formula/e for missing dependencies. If no formulae are provided, check all kegs.

Usage

bru deps missing [formula]

Parameters

  • formula: Formula/e to check for missing dependencies

deps tree

Show dependencies for formula/e. When given multiple formulae, show the intersection of dependencies for each formula. If no formula/e is given, show dependencies for all installed formulae.

Usage

bru deps tree [formula]

Parameters

  • formula: Formula/e to show dependencies for

doctor

Check your system for potential problems.

Usage

bru doctor

info

Display brief statistics for your Homebrew installation. If a formula or cask is provided, show summary of information about it.

Usage

bru info [formula|cask] [--extended|-e] [--cask|-c]

Options

  • --extended, -e: Display extended info
  • --cask, -c: Display info for cask instead of formula

info desc

Display a formula or cask's name and one-line description.

Usage

bru info desc [formula|cask] [--cask|-c]

Options

  • --cask, -c: Display info for cask instead of formula

leaves

List installed formulae that are not dependencies of another installed formula or cask.

Usage

bru leaves

list

List all installed formulae and casks.

Usage

brew list [--extended|-e]

Options

  • --extended, -e: Show extended information.

outdated

List installed casks and formulae that have an updated version available.

Usage

bru outdated

search

Perform a substring search of cask tokens and formula names for text. If text is flanked by slashes, it is interpreted as a regular expression.

Usage

bru search [terms] [--desc] [--formulae|-f] [--casks|-c]

Parameters

  • terms: Search terms

Options

  • --desc, -d: Search descriptions as well as titles
  • --formulae, -f: Search formulae
  • --casks, -c: Search casks

services

List information about all managed services for the current user (or root).

Usage

bru services

shellenv

Print export statements.

Usage

bru shellenv

Command not found hook

if (not ($env | default false __bru_hooked | get __bru_hooked)) {
    $env.__bru_hooked = true
    $env.config = ($env.config
        | upsert hooks.command_not_found (
            ($env.config.hooks.command_not_found | default [])
                | append {|cmd| bru not-found $cmd}
        )
    )
}

Author

๐Ÿ‘ค Daniel Sieradski

๐Ÿค Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a โญ๏ธ if this project helped you!

๐Ÿ“ License

Copyright ยฉ 2023 Daniel Sieradski.
This project is MIT licensed.


This README was generated with โค๏ธ by readme-md-generator

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.