Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(args): refactor imports #2656

Merged
merged 1 commit into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading