Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
652 changes: 478 additions & 174 deletions crates/skilld-command/src/lib.rs

Large diffs are not rendered by default.

357 changes: 313 additions & 44 deletions crates/skilld-command/src/local_store.rs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions crates/skilld-command/src/output.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use clap::error::ErrorKind;
use serde::Serialize;
use skilld_core::UpdateCheckV1;
use skilld_core::UpdatePlanV1;
use unicode_width::{UnicodeWidthChar, UnicodeWidthStr};

use crate::{CommandError, CommandErrorKind};
Expand Down Expand Up @@ -106,7 +106,7 @@ pub(crate) fn render_display(kind: ErrorKind, path: &str, text: &str) -> Vec<u8>
}

pub(crate) fn render_update_check(
outcome: &UpdateCheckV1,
outcome: &UpdatePlanV1,
mode: OutputMode,
) -> Result<Vec<u8>, CommandError> {
if mode != OutputMode::JsonV1 {
Expand Down
Loading