Skip to content

Commit

Permalink
Update Reilly's comments in birthday blog post (nushell#1021)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgwood committed Aug 24, 2023
1 parent 577f854 commit 8d51490
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions blog/2023-08-23-happy-birthday-nushell-4.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ To celebrate, we thought we'd share stories of how people are using Nushell toda

## Watching for database changes (Reilly)

- in a loop, clear the screen, do something like `open app.db | get some_table`, and then `sleep` a few seconds to provide an auto-updating "dashboard" of what's going on in a SQLite database
- use `watch` to run a SQLite command whenever a .sql file changes - kinda like a poor man's SQLite IDE
> I like how easy it is to hack together ad-hoc dev tools with Nushell. For example:
> - In a loop: clear the screen, do something like `open app.db | get some_table`, and then `sleep` a few seconds
> - Now I've got an auto-updating "dashboard" of what's going on in a SQLite database
> - Use `watch` to run a SQLite command whenever a .sql file changes - suddenly I've got a little SQLite IDE
>
> Nu's useful in a lot of situations like this because it's great at displaying tabular data and working with external data.
## Using a `grid` when you `cd` (fdncred)

Expand Down

0 comments on commit 8d51490

Please sign in to comment.