Skip to content

Commit

Permalink
add some util just commands
Browse files Browse the repository at this point in the history
  • Loading branch information
steezeburger committed Feb 8, 2025
1 parent 17c850f commit 02f0919
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
_default:
@just --list

# copy .env.example to .env.local
cp-env:
cp .env.example .env.local

format:
npm run format
alias f := format
Expand Down Expand Up @@ -32,10 +28,6 @@ build:
npm run build
alias b := build

# generate codebase.md that is useful to feed to LLMs
ai-digest:
npx ai-digest -i src --show-output-files

# authenticate with gcloud using a service account
[group('infra')]
gcloud-auth saname sakeypath:
Expand Down Expand Up @@ -65,3 +57,13 @@ compact-json filepath:
[group('utils')]
encode-base64 filepath:
base64 -i {{filepath}}

# generate codebase.md that is useful to feed to LLMs
[group('utils')]
ai-digest:
npx ai-digest -i src --show-output-files

# copy .env.example to .env.local
[group('utils')]
cp-env:
cp .env.example .env.local

0 comments on commit 02f0919

Please sign in to comment.