CLI: Add repository field to skill info and JSON output
This commit is contained in:
parent
4f0f02f9f0
commit
a8bcc5c78d
@ -84,6 +84,7 @@ export function formatSkillsList(report: SkillStatusReport, opts: SkillsListOpti
|
|||||||
source: s.source,
|
source: s.source,
|
||||||
primaryEnv: s.primaryEnv,
|
primaryEnv: s.primaryEnv,
|
||||||
homepage: s.homepage,
|
homepage: s.homepage,
|
||||||
|
repository: s.repository,
|
||||||
missing: s.missing,
|
missing: s.missing,
|
||||||
})),
|
})),
|
||||||
};
|
};
|
||||||
@ -181,6 +182,9 @@ export function formatSkillInfo(
|
|||||||
if (skill.homepage) {
|
if (skill.homepage) {
|
||||||
lines.push(`${theme.muted(" Homepage:")} ${skill.homepage}`);
|
lines.push(`${theme.muted(" Homepage:")} ${skill.homepage}`);
|
||||||
}
|
}
|
||||||
|
if (skill.repository) {
|
||||||
|
lines.push(`${theme.muted(" Repository:")} ${skill.repository}`);
|
||||||
|
}
|
||||||
if (skill.primaryEnv) {
|
if (skill.primaryEnv) {
|
||||||
lines.push(`${theme.muted(" Primary env:")} ${skill.primaryEnv}`);
|
lines.push(`${theme.muted(" Primary env:")} ${skill.primaryEnv}`);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user