Skip to content

Commit

Permalink
chore(args): refactor imports (#2656)
Browse files Browse the repository at this point in the history
Sort of a drive-by clean up while working on something else. I'm not
actively looking for these refactors, but I'm just kind of finding
things that stick out to me while working through different areas of the
cb for more holistic tasks.
  • Loading branch information
greyscaled authored Feb 15, 2024
1 parent cec07ea commit d8de1b3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 5 additions & 1 deletion crates/glaredb/src/args/local.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
use std::fmt::Write as _;

use anyhow::Result;
use clap::Args;
use url::Url;

use super::*;
use crate::args::{OutputMode, PathBuf, StorageConfigArgs};

#[derive(Args, Debug)]
pub struct LocalArgs {
Expand Down
3 changes: 1 addition & 2 deletions crates/glaredb/src/args/mod.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
use std::fmt::Write as _;
use std::path::PathBuf;

use anyhow::{anyhow, Result};
use clap::{Parser, ValueEnum};
use url::Url;

use crate::proxy::TLSMode;

pub mod local;
pub mod server;
pub mod slt;
Expand Down
2 changes: 1 addition & 1 deletion crates/glaredb/src/args/server.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use clap::Args;

use super::{PathBuf, StorageConfigArgs};
use crate::args::{PathBuf, StorageConfigArgs};

#[derive(Args)]
pub struct ServerArgs {
Expand Down

0 comments on commit d8de1b3

Please sign in to comment.