refactor(cli): rename nc to ncl

Rename the CLI binary, socket path, container wrapper, error prefixes,
and all references from `nc` to `ncl`. Add ~/.local/bin symlink during
setup and pnpm script alias.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
gavrielc
2026-05-08 15:56:09 +03:00
parent 33cbf59dd8
commit 0855369b79
15 changed files with 89 additions and 50 deletions

View File

@@ -1,8 +1,8 @@
/**
* Built-in help command. Introspects the resource and command registries.
*
* nc help — list all resources and commands
* nc groups help — show group resource details (verbs, columns, enums)
* ncl help — list all resources and commands
* ncl groups help — show group resource details (verbs, columns, enums)
*/
import { getResource, getResources } from '../crud.js';
import { listCommands, register } from '../registry.js';
@@ -41,7 +41,7 @@ register({
}
lines.push('');
lines.push('Run `nc <resource> help` for detailed field information.');
lines.push('Run `ncl <resource> help` for detailed field information.');
return lines.join('\n');
},
});