File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11
22# Shell
33
4+ See [ acm-hook.sh] ( acm-hook.sh ) .
5+
6+ A CLI script that bypasses using VS Code or an extension.
7+ It will get output from Git, send it to Node CLI entry-point tool and print
8+ it. This can be used as part of Git commit message hook flow (pre-commit hook).
9+
10+
11+ ## Setup
12+
413If you want to use the hook:
514
6151 . Follow instructions to install the TS command globally as per [ src/cli/README.md] ( /src/cli/README.md )
@@ -9,3 +18,8 @@ If you want to use the hook:
918 $ cp shell/acm-hook.sh YOUR_PROJECT/.hooks/pre-commit
1019 $ chmod +x YOUR_PROJECT/.hooks/pre-commit
1120 ```
21+
22+ # # Debugging
23+
24+ Optionally add a ` -p` debug flag to print without writing to a file. This
25+ makes it easy to debug the script outside a Git commit hook flow.
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22# CLI test for autofill hook.
33#
4- # This script is *not* ready to be used in other projects. See shell/README.md
5- # for dev notes.
6- #
7- # This is a pure CLI script that bypasses using VS Code or an extension.
8- # It will get output from Git, send it to Node CLI entry-point tool and print
9- # it. This can be used as part of Git commit message hook flow (pre-commit hook).
10- #
11- # Optionally add a `-d` debug flag to print without writing to a file. This
12- # makes it easy to debug the script outside a Git commit hook flow.
13- # ./autofill-hook.sh -p
14- #
154# See shell/README.md doc.
165set -e
176
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ # Shell
2+
3+ Bash scripts around this project, to be used instead of as a VS Code extension.
4+
5+ ## Samples
6+
7+ Archive of shell scripts for reference. These are used in the early development of the project but are not actively used.
8+
9+ - [ count-files.sh] ( count-files.sh )
10+ - [ sample.sh] ( sample.sh )
11+ - [ simple-hook.sh] ( simple-hook.sh )
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments