mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-11-17 22:08:35 +00:00
11 lines
206 B
Rust
11 lines
206 B
Rust
use std::io;
|
|
|
|
use clap::CommandFactory;
|
|
use clap_complete::{generate, Shell};
|
|
|
|
use crate::opt::Command;
|
|
|
|
pub fn run(shell: Shell) {
|
|
generate(shell, &mut Command::command(), "sqlx", &mut io::stdout())
|
|
}
|