fix(help): use explicit indentation instead of console.group
The help output was indented by unclosed console.group() calls, which Bun keeps applying to every subsequent line. Because groups were never closed with console.groupEnd(), indentation accumulated per nesting level and pushed deep entries (e.g. "jj portainer test") far to the right. Replace the group-based helpers with an explicit INDENT constant and a depth parameter in generateHelp(), so each level is indented deterministically and the layout is stable regardless of console state.
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@sarava-npm-packages/jj-command-line",
|
||||
"description": "jj cli",
|
||||
"version": "2.1.9",
|
||||
"version": "2.1.10",
|
||||
"author": "Jason Jafari",
|
||||
"bin": {
|
||||
"jj": "./jj.sh"
|
||||
|
||||
Reference in New Issue
Block a user