mirror of https://github.com/buster-so/buster.git
refactor makefile to remove redundant db reset command; update CLI argument attributes for local and cloud API modes
This commit is contained in:
parent
2858bedac5
commit
07d0a26941
|
@ -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 && \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue