feat: create Ctx instance
This commit is contained in:
parent
d0b6f9a1fc
commit
c960129be2
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