#!/usr/bin/env node
import {a,j}from'./chunk-D34YFK4M.js';import'./chunk-5TAVYPOV.js';import o from'chalk';async function u(i){let l=process.cwd(),n=a(l);if(!n||n.totalContent===0){console.log(o.yellow(`
  No university content found.`)),console.log(o.gray(`  Create content with: paradigm university add note --title "My Note"
`));return}let e=j(l,{type:i.type,tag:i.tag,difficulty:i.difficulty,symbol:i.symbol,limit:i.limit?parseInt(i.limit,10):20});if(i.json){console.log(JSON.stringify(e,null,2));return}console.log(o.blue(`
  University Content (${e.length} of ${n.totalContent})
`));let c={note:"N",policy:"P",guide:"N",runbook:"N",quiz:"Q",path:"LP"};for(let t of e){let a=c[t.type]||"?",y=t.difficulty==="advanced"?o.red:t.difficulty==="intermediate"?o.yellow:o.green,d=t.tags.length>0?o.gray(` [${t.tags.join(", ")}]`):"";console.log(`  ${o.cyan(a)} ${o.white(t.id)} \u2014 ${t.title}${d}`),t.difficulty&&console.log(`    ${y(t.difficulty)} \xB7 ${t.author} \xB7 ${t.updated||t.created}`);}n.diplomaCount>0&&console.log(o.gray(`
  ${n.diplomaCount} diploma${n.diplomaCount>1?"s":""} earned`)),console.log();}export{u as universityListCommand};