Skip to content

Commit 7ad5372

Browse files
committed
enhance cli visuals
add color scheme, add markdown rendering to read, enhance config
1 parent 9bb252a commit 7ad5372

12 files changed

Lines changed: 1013 additions & 221 deletions

File tree

src/cli/commands/config.ts

Lines changed: 360 additions & 165 deletions
Large diffs are not rendered by default.

src/cli/commands/edges.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,11 @@ async function runEdgesList(flags: EdgesListFlags) {
391391
async function runEdgesPropose(flags: EdgesProposeFlags) {
392392
const limit =
393393
typeof flags.limit === 'number' && !Number.isNaN(flags.limit) && flags.limit > 0 ? flags.limit : 10;
394+
395+
if (!flags.json) {
396+
console.log('Fetching edge suggestions…');
397+
}
398+
394399
const edges = (await listEdges('suggested')).sort((a, b) => b.score - a.score).slice(0, limit);
395400

396401
if (edges.length === 0) {

0 commit comments

Comments
 (0)