Skip to content

Commit

Permalink
feat: improve documentation of installed packages
Browse files Browse the repository at this point in the history
Signed-off-by: wrightbradley <[email protected]>
  • Loading branch information
wrightbradley committed Nov 11, 2024
1 parent 49037f9 commit 91392ca
Show file tree
Hide file tree
Showing 14 changed files with 3,528 additions and 1,496 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,4 @@ prose_styles/Google
prose_styles/Readability
prose_styles/alex
prose_styles/proselint
compare.py
15 changes: 14 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@ direnv: ## setup direnv for env
cp .envrc.sample .envrc && direnv allow .

.PHONY: vale
vale:
vale: ## setup vale
vale sync --config .vale.ini

.PHONY: pre-commit-init
pre-commit-init: ## install pre-commit
pre-commit install

## Lint:
.PHONY: lint
lint: pre-commit ## Run linters
Expand All @@ -33,6 +37,15 @@ lint: pre-commit ## Run linters
pre-commit: ## Run pre-commit
pre-commit run -a

## Docs:
.PHONY: gen-brew-docs-personal
gen-brew-docs-personal: ## Run scripts/gen-brew-docs.py
uv run scripts/gen-brew-docs.py --category personal

.PHONY: gen-brew-docs-work
gen-brew-docs-work: ## Run scripts/gen-brew-docs.py
uv run scripts/gen-brew-docs.py --category work

## Help:
.PHONY: help
help: ## Show this help.
Expand Down
31 changes: 13 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
# dotfiles

## Machine Bootstrapping

```bash
\||/
| @___oo DOTFILES INSTALLATION
/\ /\ / (__,,,,| RELEASE: 2.1
) /^\) ^\/ _)
) /^\/ _)
) _ / / _)
/\ )/\/ || | )_)
< > |(,,) )__)
|| / \)___)\
| \____( )___) )___
\______(_______;;; __;;;
```
![fastfetch](docs/assets/fastfetch-demo.jpg)

Setups and configures various dotfiles, installs packages, and configures the
host machine. This repo strives to be as declarative and idempotent as possible
Expand Down Expand Up @@ -72,16 +58,25 @@ sh -c "$(curl -fsLS get.chezmoi.io)" -- init --exclude=encrypted --apply $GITHUB
- Hook Ansible into chezmoi bootstrap step
- Identify how to install homebrew-less casks: ATEM Mini Pro, Akai Professional
MPK Mini III Program Editor, MPK mini Software Manager
- Generate inventory file for Ansible

## Info Gathering

### MAS Info Gathering

```bash
mas list
```

## Homebrew Info Gathering
### Homebrew Info Gathering

### List installed formulae
#### List installed formulae

```bash
brew info --json=v2 --installed | jq -r '.formulae[]|{name:select(any(.installed[]; .installed_on_request)).full_name, desc: .desc, homepage:.homepage}'
```

### List installed casks
#### List installed casks

```bash
brew info --json=v2 --installed | jq -r '.casks[]|{name:.full_token, full_name:.name, desc:.desc, homepage:.homepage,}'
Expand Down
6 changes: 6 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# My dotfiles Documentation

## Homebrew Catalogs

- [Personal](/docs/homebrew-install-catalog-personal.md)
- [Work](/docs/homebrew-install-catalog-work.md)
Binary file added docs/assets/fastfetch-demo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
297 changes: 0 additions & 297 deletions docs/homebrew-cask-list.json

This file was deleted.

Loading

0 comments on commit 91392ca

Please sign in to comment.