1default:
2 @just --list
3
4# Run pre-commit hooks on all files, including autoformatting
5pre-commit-all:
6 pre-commit run --all-files
7
8# Run 'cargo run' on the project
9run *ARGS:
10 cargo run {{ARGS}}
11
12# Run 'bacon' to run the project (auto-recompiles)
13watch *ARGS:
14 bacon --job run -- -- {{ ARGS }}
15
16# Run the OAuth timeline example
17example-oauth *ARGS:
18 cargo run -p jacquard --example oauth_timeline --features fancy -- {{ARGS}}
19
20# Create a simple post
21example-create-post *ARGS:
22 cargo run -p jacquard --example create_post --features fancy -- {{ARGS}}
23
24# Create a post with an image
25example-post-image *ARGS:
26 cargo run -p jacquard --example post_with_image --features fancy -- {{ARGS}}
27
28# Update profile display name and description
29example-update-profile *ARGS:
30 cargo run -p jacquard --example update_profile --features fancy -- {{ARGS}}
31
32# Fetch public AT Protocol feed (no auth)
33example-public-feed:
34 cargo run -p jacquard --example public_atproto_feed
35
36# Create a WhiteWind blog post
37example-whitewind-create *ARGS:
38 cargo run -p jacquard --example create_whitewind_post --features fancy -- {{ARGS}}
39
40# Read a WhiteWind blog post
41example-whitewind-read *ARGS:
42 cargo run -p jacquard --example read_whitewind_posts --features fancy -- {{ARGS}}
43
44# Read info about a Tangled git repository
45example-tangled-repo *ARGS:
46 cargo run -p jacquard --example read_tangled_repo --features fancy -- {{ARGS}}
47
48# Resolve a handle to its DID document
49example-resolve-did *ARGS:
50 cargo run -p jacquard --example resolve_did -- {{ARGS}}
51
52# Update Bluesky preferences
53example-update-preferences *ARGS:
54 cargo run -p jacquard --example update_preferences --features fancy -- {{ARGS}}
55
56# Run the Axum server example
57example-axum:
58 cargo run -p jacquard-axum --example axum_server --features jacquard/fancy