From ac0feea001381375051e62e20a50b32b8abe07d5 Mon Sep 17 00:00:00 2001 From: ngutech21 Date: Tue, 13 Feb 2024 13:19:09 +0100 Subject: [PATCH] chore: allow args for just run-mint --- .env.example | 4 ++-- justfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index 0fe598bd..d3090b19 100644 --- a/.env.example +++ b/.env.example @@ -24,7 +24,7 @@ MINT_HOST_PORT="[::]:3338" # if set will serve the wallet from the given path #MINT_SERVE_WALLET_PATH=./flutter/build/web -# optional mint info +# mint info (optional) MINT_INFO_NAME=moksha-mint # If set to true the version of the mint crate will be displayed in the mint info MINT_INFO_VERSION=true @@ -33,7 +33,7 @@ MINT_INFO_DESCRIPTION_LONG="mint description long" MINT_INFO_MOTD="some message of the day" MINT_INFO_CONTACT_EMAIL="contact@me.com" - +# fee configuration (optional) defaults to 1.0 / 4000 MINT_LIGHTNING_FEE_PERCENT=1.0 MINT_LIGHTNING_RESERVE_FEE_MIN=4000 diff --git a/justfile b/justfile index 0a4bee2c..5137d1cb 100644 --- a/justfile +++ b/justfile @@ -53,8 +53,8 @@ run-coverage: # run the cashu-mint -run-mint: - RUST_BACKTRACE=1 MINT_APP_ENV=dev cargo run --bin moksha-mint +run-mint *ARGS: + RUST_BACKTRACE=1 MINT_APP_ENV=dev cargo run --bin moksha-mint -- {{ARGS}} # run cli-wallet with the given args run-cli *ARGS: