1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

git pull command

This commit is contained in:
Robin Appelman 2025-11-21 20:01:20 +01:00
commit 1804a7fd93
7 changed files with 121 additions and 37 deletions

View file

@ -5,7 +5,7 @@ use crate::cloud::{Cloud, CloudOptions};
use crate::config::HazeConfig;
use crate::database::DatabaseFamily;
use crate::exec::{container_logs, exec, exec_tty};
use crate::git::checkout_all;
use crate::git::{checkout_all, pull_all};
use crate::help::help;
use crate::image::update_image;
use crate::network::clear_networks;
@ -366,6 +366,9 @@ async fn main() -> Result<ExitCode> {
GitOperation::Checkout { branch } => {
checkout_all(&config.sources_root, &branch)?;
}
GitOperation::Pull => {
pull_all(&config.sources_root)?;
}
},
HazeArgs::Env {
filter,