Settings

Theme

How to <execute high level action via CLI>

github.com

3 points by mrlowlevel 2 years ago · 1 comment

Reader

mrlowlevelOP 2 years ago

A 15 minute side project I cooked up on a late Monday night.

Fun examples:

```

  howto git:(main) howto "print hello world" | sh
  hello world

  howto git:(main) howto "rebase changes from a branch B onto main that was branched off from a branch A that has now been squashed into main"
  git checkout B && git rebase --onto main A B

  howto git:(main) howto "update macos"
  softwareupdate --all --install --restart

  howto git:(main) howto "list all direct non-empty child directories in current directory, each directory on a new line with no additional details" | sh
  target
  .git
  src
```

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection