- ls: compact view with status dots and folder markers - ls -la: table view with status, lang, date, title; folders show mini status bar - tree: recursive hierarchy using Spectre.Console Tree widget, context-aware - All commands: CancellationToken threaded through ExecuteAsync - Partition() helper respects topic-relative slug depth
12 lines
262 B
C#
12 lines
262 B
C#
using NozCli.Repl;
|
|
|
|
namespace NozCli.Commands;
|
|
|
|
public interface ICommand
|
|
{
|
|
string Name { get; }
|
|
string Description { get; }
|
|
string Usage { get; }
|
|
|
|
Task ExecuteAsync(string[] args, ReplContext ctx, CancellationToken ct = default);
|
|
}
|