chore: bump version to 0.2.0 🚀

This commit is contained in:
Andreas Bigger
2025-12-29 17:18:39 -05:00
parent 3e28cef4bb
commit bafc68255c
3 changed files with 14 additions and 18 deletions
+4 -6
View File
@@ -34,7 +34,9 @@ pub(crate) fn pause_job(state: &StateManager, job_id: &str) -> Result<()> {
#[cfg(windows)]
{
// Windows doesn't have SIGSTOP equivalent, we'll just update the state
eprintln!("Warning: Pause is not fully supported on Windows. Job state updated but process continues.");
eprintln!(
"Warning: Pause is not fully supported on Windows. Job state updated but process continues."
);
}
job.mark_paused();
@@ -185,11 +187,7 @@ pub(crate) fn clean_jobs(state: &StateManager, all: bool) -> Result<()> {
}
/// Execute the job management command.
pub(crate) fn job_command(
action: &str,
job_id: Option<&str>,
all: bool,
) -> Result<()> {
pub(crate) fn job_command(action: &str, job_id: Option<&str>, all: bool) -> Result<()> {
let state_manager =
StateManager::with_default_path().context("Failed to initialize state manager")?;
+1 -3
View File
@@ -274,9 +274,7 @@ async fn main() -> Result<()> {
JobAction::Resume { job_id } => {
commands::job::job_command("resume", Some(&job_id), false)
}
JobAction::Kill { job_id } => {
commands::job::job_command("kill", Some(&job_id), false)
}
JobAction::Kill { job_id } => commands::job::job_command("kill", Some(&job_id), false),
JobAction::Clean { all } => commands::job::job_command("clean", None, all),
},
}