make all commands pub(super)
This commit is contained in:
parent
2f6bfee5c7
commit
b706cc894d
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ pub(crate) enum ConfigError {
|
||||||
Validate(#[from] validate::ValidationError),
|
Validate(#[from] validate::ValidationError),
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) async fn run(command: Commands) -> Result<(), ConfigError> {
|
pub(super) async fn run(command: Commands) -> Result<(), ConfigError> {
|
||||||
match command {
|
match command {
|
||||||
Commands::Update { revision } => update::run(revision).await?,
|
Commands::Update { revision } => update::run(revision).await?,
|
||||||
Commands::Validate => validate::run()?,
|
Commands::Validate => validate::run()?,
|
||||||
|
|
|
@ -27,7 +27,7 @@ enum Commands {
|
||||||
Config(config::Commands),
|
Config(config::Commands),
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) async fn run() -> Result<(), Error> {
|
pub(super) async fn run() -> Result<(), Error> {
|
||||||
let args = Args::parse();
|
let args = Args::parse();
|
||||||
|
|
||||||
match args.command {
|
match args.command {
|
||||||
|
|
Loading…
Reference in a new issue