Skip to content

Commit cc86a97

Browse files
committed
add my bat signal
1 parent 173c504 commit cc86a97

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

docs/examples/sqlmesh_cli_crash_course.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,4 +286,20 @@ asdf
286286
tcloud sqlmesh janitor
287287
```
288288

289+
Fun for the whole family:
290+
291+
```bash
292+
brew install bat
293+
```
294+
295+
```bash
296+
bat --theme='ansi' $(ls -t logs/ | head -n 1 | sed 's/^/logs\//')
297+
```
298+
299+
- view logs
300+
- a special treat for you ;)
301+
- https://github.com/sharkdp/bat
302+
- In simple terms: "Show me the contents of the newest log file in the logs directory, with nice formatting and syntax highlighting.”
303+
- `q` to quit out of big files in the terminal
304+
289305
- Manually clean up old development schemas outside the automated schedule

0 commit comments

Comments
 (0)