refactor makefile to remove redundant db reset command; update CLI argument attributes for local and cloud API modes

This commit is contained in:
dal 2025-05-12 11:17:52 -06:00
parent 2858bedac5
commit 07d0a26941
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,6 @@ dev:
docker stop buster-redis-make || true && \
docker rm buster-redis-make || true && \
docker run -d --name buster-redis-make -p 6379:6379 -v buster_redis_data:/data redis && \
supabase db reset || true && \
supabase start || true && \
supabase db reset || true && \
export DATABASE_URL=postgres://postgres:postgres@127.0.0.1:54322/postgres && \

View File

@ -41,11 +41,11 @@ pub enum Commands {
clear: bool,
/// Use local Buster API
#[arg(long)]
#[arg(long, group = "api_mode")]
local: bool,
/// Use cloud Buster API
#[arg(long)]
#[arg(long, group = "api_mode")]
cloud: bool,
},
/// Update buster-cli to the latest version