sqlx-cli 0.8.6

Command-line utility for SQLx, the Rust SQL toolkit.
Documentation
1
2
3
4
5
6
7
8
9
10
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())
}