add doc comments
This commit is contained in:
parent
49dacb2418
commit
c734380cfe
6 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
//! `config` subcommand
|
||||||
|
|
||||||
mod migrate;
|
mod migrate;
|
||||||
mod validate;
|
mod validate;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
//! `config migrate` subcommand
|
||||||
|
|
||||||
mod v20240701;
|
mod v20240701;
|
||||||
|
|
||||||
use super::ConfigVersion;
|
use super::ConfigVersion;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
//! `config migrate 20240701` subcommand
|
||||||
|
|
||||||
use sqlx::{postgres::PgConnectOptions, ConnectOptions};
|
use sqlx::{postgres::PgConnectOptions, ConnectOptions};
|
||||||
use std::{collections::HashMap, env, fs, io::Read};
|
use std::{collections::HashMap, env, fs, io::Read};
|
||||||
use yaml_rust::{Yaml, YamlLoader};
|
use yaml_rust::{Yaml, YamlLoader};
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
//! `config validate` subcommand
|
||||||
|
|
||||||
use crate::config::{client, server};
|
use crate::config::{client, server};
|
||||||
use std::{env, fs, io::Read};
|
use std::{env, fs, io::Read};
|
||||||
use validator::{Validate, ValidationErrors};
|
use validator::{Validate, ValidationErrors};
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
//! Subcommand implementations
|
||||||
|
|
||||||
pub(crate) mod config;
|
pub(crate) mod config;
|
||||||
pub(crate) mod version;
|
pub(crate) mod version;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
//! `version` subcommand
|
||||||
|
|
||||||
use color_print::cprintln;
|
use color_print::cprintln;
|
||||||
|
|
||||||
pub(crate) fn run() {
|
pub(crate) fn run() {
|
||||||
|
|
Loading…
Reference in a new issue