mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-25 15:39:25 -05:00
Move cli specific modules under cli folder
nectar will also have its own folder with a separate config.
This commit is contained in:
parent
901c9e89c9
commit
7805a6d684
@ -19,9 +19,11 @@ use std::{path::PathBuf, sync::Arc};
|
|||||||
use structopt::StructOpt;
|
use structopt::StructOpt;
|
||||||
use swap::{
|
use swap::{
|
||||||
bitcoin,
|
bitcoin,
|
||||||
command::{Arguments, Cancel, Command, Refund, Resume},
|
cli::{
|
||||||
config::{
|
command::{Arguments, Cancel, Command, Refund, Resume},
|
||||||
initial_setup, query_user_for_initial_testnet_config, read_config, ConfigNotInitialized,
|
config::{
|
||||||
|
initial_setup, query_user_for_initial_testnet_config, read_config, ConfigNotInitialized,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
database::Database,
|
database::Database,
|
||||||
execution_params,
|
execution_params,
|
||||||
|
2
swap/src/cli.rs
Normal file
2
swap/src/cli.rs
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
pub mod command;
|
||||||
|
pub mod config;
|
@ -17,8 +17,7 @@
|
|||||||
)]
|
)]
|
||||||
|
|
||||||
pub mod bitcoin;
|
pub mod bitcoin;
|
||||||
pub mod command;
|
pub mod cli;
|
||||||
pub mod config;
|
|
||||||
pub mod database;
|
pub mod database;
|
||||||
pub mod execution_params;
|
pub mod execution_params;
|
||||||
pub mod fs;
|
pub mod fs;
|
||||||
|
Loading…
Reference in New Issue
Block a user