How to <execute high level action via CLI>

(github.com)

2 points | by mrlowlevel 13 hours ago ago

1 comments

  • mrlowlevel 13 hours ago 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
    
    ```