chore: remove dead code: trello::url()
This commit is contained in:
parent
e45c5a6ef8
commit
1c82ed3a80
1 changed files with 0 additions and 7 deletions
|
@ -3,7 +3,6 @@ use clap::Parser;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
execute::Execute,
|
execute::Execute,
|
||||||
f,
|
|
||||||
trello::{
|
trello::{
|
||||||
attachment::TrelloAttachmentCommand,
|
attachment::TrelloAttachmentCommand,
|
||||||
board::TrelloBoardCommand,
|
board::TrelloBoardCommand,
|
||||||
|
@ -29,12 +28,6 @@ pub(crate) mod stack;
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests;
|
mod tests;
|
||||||
|
|
||||||
pub(crate) fn url(path: impl Into<String>) -> String {
|
|
||||||
let path = path.into();
|
|
||||||
assert!(path.starts_with("/"));
|
|
||||||
f!("https://api.trello.com/1{path}")
|
|
||||||
}
|
|
||||||
|
|
||||||
#[derive(Parser, Debug)]
|
#[derive(Parser, Debug)]
|
||||||
pub(crate) enum TrelloCommand {
|
pub(crate) enum TrelloCommand {
|
||||||
#[clap(subcommand)]
|
#[clap(subcommand)]
|
||||||
|
|
Loading…
Reference in a new issue