chore: fmt
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
aeaffb775e
commit
af5d0f4af5
@ -8,8 +8,8 @@ use std::{
|
|||||||
use clap::{Parser, Subcommand};
|
use clap::{Parser, Subcommand};
|
||||||
use cuddle_please_frontend::{gatheres::ConfigArgs, PleaseConfig, PleaseConfigBuilder};
|
use cuddle_please_frontend::{gatheres::ConfigArgs, PleaseConfig, PleaseConfigBuilder};
|
||||||
use cuddle_please_misc::{
|
use cuddle_please_misc::{
|
||||||
get_most_significant_version, ConsoleUi, DynRemoteGitClient, DynUi, GiteaClient, GlobalArgs,
|
ConsoleUi, DynRemoteGitClient, DynUi, GiteaClient, GlobalArgs, LocalGitClient, StdinFn,
|
||||||
LocalGitClient, NextVersion, RemoteGitEngine, StdinFn, VcsClient,
|
VcsClient,
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
use clap::Subcommand;
|
use clap::Subcommand;
|
||||||
use cuddle_please_frontend::PleaseConfig;
|
use cuddle_please_frontend::PleaseConfig;
|
||||||
use cuddle_please_misc::{get_most_significant_version, DynRemoteGitClient, DynUi, GiteaClient};
|
use cuddle_please_misc::{get_most_significant_version, DynRemoteGitClient, DynUi};
|
||||||
|
|
||||||
#[derive(Subcommand, Debug, Clone)]
|
#[derive(Subcommand, Debug, Clone)]
|
||||||
pub enum GiteaCommand {
|
pub enum GiteaCommand {
|
||||||
@ -39,7 +39,7 @@ impl GiteaCommandHandler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn execute(&self, command: &GiteaCommand, token: &str) -> anyhow::Result<()> {
|
pub fn execute(&self, command: &GiteaCommand, _token: &str) -> anyhow::Result<()> {
|
||||||
let owner = self.config.get_owner();
|
let owner = self.config.get_owner();
|
||||||
let repository = self.config.get_repository();
|
let repository = self.config.get_repository();
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ fn get_base_args<'a>() -> Vec<&'a str> {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
const EXPECTED_OUTPUT: &'static str = r#"cuddle-config
|
const EXPECTED_OUTPUT: &str = r#"cuddle-config
|
||||||
PleaseConfig
|
PleaseConfig
|
||||||
owner: kjuulh
|
owner: kjuulh
|
||||||
repository: cuddle-please
|
repository: cuddle-please
|
||||||
|
Loading…
Reference in New Issue
Block a user