feat: create Ctx instance
This commit is contained in:
parent
111d9c2090
commit
8bcc6017ce
1 changed files with 9 additions and 0 deletions
|
@ -1,10 +1,19 @@
|
||||||
//
|
//
|
||||||
|
use std::path::PathBuf;
|
||||||
|
|
||||||
use color_eyre::Result;
|
use color_eyre::Result;
|
||||||
|
|
||||||
|
use trello_to_deck::Ctx;
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
#[cfg_attr(test, mutants::skip)]
|
#[cfg_attr(test, mutants::skip)]
|
||||||
async fn main() -> Result<()> {
|
async fn main() -> Result<()> {
|
||||||
color_eyre::install()?;
|
color_eyre::install()?;
|
||||||
|
|
||||||
|
let _ctx = Ctx {
|
||||||
|
fs: kxio::fs::new(PathBuf::default()),
|
||||||
|
net: kxio::net::new(),
|
||||||
|
};
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue