Skip to content

Commit 21f24db

Browse files
committed
Add default config path
This matches the default Solana CLI path (~/.config/solana/cli/config.yml)
1 parent 37dcdf5 commit 21f24db

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tuktuk-crank-turner/src/main.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ pub struct Cli {
4646
/// Optional configuration file to use. If present the toml file at the
4747
/// given path will be loaded. Environment variables can override the
4848
/// settings in the given file.
49-
#[clap(short = 'c')]
49+
#[clap(
50+
short = 'c',
51+
long,
52+
default_value = "~/.config/helium/cli/tuktuk-crank-turner/config.toml"
53+
)]
5054
pub config: Option<path::PathBuf>,
5155
}
5256

0 commit comments

Comments
 (0)