1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-04 01:24:09 +02:00

db and image pull

This commit is contained in:
Robin Appelman 2021-03-13 22:20:11 +01:00
commit 2a4a2b9d17
9 changed files with 180 additions and 38 deletions

View file

@ -8,6 +8,7 @@ mod args;
mod cloud;
mod config;
mod database;
mod image;
mod php;
mod tty;
@ -95,7 +96,8 @@ async fn main() -> Result<()> {
cloud.exec(&mut docker, options).await?;
}
HazeCommand::Db => {
todo!();
let cloud = get_by_filter(&mut docker, None, &config).await?;
cloud.db.exec(&mut docker, &cloud.id).await?;
}
HazeCommand::Test => {
todo!();