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:
parent
d86ee53f66
commit
1804a7fd93
7 changed files with 121 additions and 37 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue