imp:cli:commands list: move HELP, UIS to top; cleanups

This commit is contained in:
Simon Michael 2024-04-19 01:15:08 -10:00
parent d6646ddbdf
commit 3bc1bd2c75

View File

@ -200,11 +200,26 @@ commandsList progversion othercmds =
,"Usage: hledger CMD [OPTS] [-- ADDONCMDOPTS]"
,"Commands (builtins + addons):"
,""
,bold' "ENTERING DATA (add or edit transactions, updating the journal file)"
," add add transactions using terminal prompts"
,"+edit edit a subset of transactions"
-----------------------------------------80-------------------------------------
,bold' "HELP (docs, demos..)"
," hledger show this commands list"
," hledger -h show general options"
," hledger CMD -h show CMD's options and manual"
," hledger help [-i|-m|-p] [TOPIC] show the hledger manual"
," hledger demo [DEMO] [-- ASCOPTS] show brief demos in the terminal"
," https://hledger.org HTML manuals, tutorials, examples, support"
,""
-----------------------------------------80-------------------------------------
,bold' "UIS (other user interfaces)"
,"+ui run terminal UI"
,"+web run web UI"
,""
-----------------------------------------80-------------------------------------
,bold' "ENTERING DATA (add or edit transactions in the journal file)"
," add add transactions using console prompts"
,"+iadd add transactions using a TUI"
," import add new transactions from other files, eg CSV files"
," import add (new) transactions from other files, eg CSV files"
,"+edit edit existing transactions"
,""
-----------------------------------------80-------------------------------------
,bold' "GENERATING DATA (generate entries to be added to the journal file)"
@ -255,21 +270,7 @@ commandsList progversion othercmds =
," prices show historical market prices"
," stats show journal statistics"
," tags show tag names"
,""
-----------------------------------------80-------------------------------------
,bold' "UIS (other user interfaces)"
,"+ui run terminal UI"
,"+web run web UI"
,""
-----------------------------------------80-------------------------------------
,bold' "HELP (show help and docs)"
," hledger show this commands list"
," hledger -h show hledger's command-line help"
," hledger CMD -h show CMD's command-line help and manual"
," hledger help [-i|-m|-p] [TOPIC] show hledger's manual with info, man, or pager"
," hledger demo [DEMO] [-- ASCOPTS] show brief demos on various topics"
," hledger test [-- TASTYOPTS] run self tests"
," https://hledger.org html manuals, tutorials, support.."
," test [-- TASTYOPTS] run a few self tests"
,""
-----------------------------------------80-------------------------------------
,bold' "OTHER (more hledger-* addon commands found in PATH)"