chore: cleanup
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
aa74c13049
commit
ff9b61ee4a
@ -179,10 +179,7 @@ enum Commands {
|
|||||||
#[derive(Subcommand, Debug, Clone)]
|
#[derive(Subcommand, Debug, Clone)]
|
||||||
enum ConfigCommand {
|
enum ConfigCommand {
|
||||||
/// List will list the final configuration
|
/// List will list the final configuration
|
||||||
List {
|
List {},
|
||||||
#[arg(long)]
|
|
||||||
someArg: String,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_current_path(
|
fn get_current_path(
|
||||||
|
@ -2,7 +2,6 @@ pub mod command;
|
|||||||
pub mod ui;
|
pub mod ui;
|
||||||
|
|
||||||
use command::Command;
|
use command::Command;
|
||||||
use ui::{ConsoleUi};
|
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> anyhow::Result<()> {
|
async fn main() -> anyhow::Result<()> {
|
||||||
@ -12,8 +11,6 @@ async fn main() -> anyhow::Result<()> {
|
|||||||
let current_dir = std::env::current_dir().ok();
|
let current_dir = std::env::current_dir().ok();
|
||||||
let current_dir = current_dir.as_ref().map(|p| p.as_path());
|
let current_dir = current_dir.as_ref().map(|p| p.as_path());
|
||||||
|
|
||||||
let _ui = ConsoleUi::new();
|
|
||||||
|
|
||||||
Command::new().execute(current_dir)?;
|
Command::new().execute(current_dir)?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
Reference in New Issue
Block a user