1
0
Fork 0
mirror of https://github.com/MedzikUser/imgurs synced 2024-08-15 00:03:19 +00:00
This commit is contained in:
MedzikUserBot 2022-02-27 11:06:34 +00:00
parent b7c98934e6
commit 24d7be84fa

View file

@ -1,7 +1,7 @@
use imgurs::api::ImgurClient;
use clap::{Command, IntoApp, Parser, Subcommand};
use clap_complete::{generate, Generator, Shell};
use std::io::{stdout, self};
use imgurs::api::ImgurClient;
use std::io::{self, stdout};
use crate::cli::{credits::*, delete_image::*, info_image::*, upload_image::*};
@ -33,7 +33,10 @@ enum Commands {
#[clap(about = "Print image info", display_order = 4)]
Info { id: String },
#[clap(about = "Generate completion file for a shell [bash, elvish, fish, powershell, zsh]", display_order = 5)]
#[clap(
about = "Generate completion file for a shell [bash, elvish, fish, powershell, zsh]",
display_order = 5
)]
Completions { shell: String },
#[clap(about = "Generate man page", display_order = 6)]