summaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2026-06-18 21:43:34 +0300
committerA Farzat <a@farzat.xyz>2026-06-18 21:43:34 +0300
commit64edb40a08a1e8de5fbae8730b021f2cc2f31edb (patch)
tree79832b11bb6e730c427f74e07cee7953a2ab39a5 /src/cli.rs
parent591039b3435be05d18ca9a2cc633f2ea88d700d5 (diff)
downloadrepo2markdown-64edb40a08a1e8de5fbae8730b021f2cc2f31edb.tar.gz
repo2markdown-64edb40a08a1e8de5fbae8730b021f2cc2f31edb.zip
Move the logic from main.rs to make it testable
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 4525781..b9f30fa 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -71,9 +71,9 @@ mod tests {
use std::path::PathBuf;
use clap::Parser;
- use repo2markdown::logger::Verbosity;
+ use repo2markdown::{logger::Verbosity, renderer::RenderOptions};
- use super::{Cli, RenderOptions};
+ use super::Cli;
#[test]
fn cli_uses_default_paths_and_normal_verbosity() {