Commit Graph

13179 Commits

Author SHA1 Message Date
Simon Michael
a925e73b53 imp:cli: handle -NUM in config file properly 2024-10-19 16:56:14 -10:00
Simon Michael
576417655c dev: fix stray empty strings in builtinCommandNames 2024-10-19 16:56:14 -10:00
Simon Michael
f5b10b2d40 dev: cleanups 2024-10-19 16:56:14 -10:00
Henning Thielemann
3306abfd43 doc: hledger.m4: add HTML+FODS to print in output format matrix 2024-10-19 16:52:54 -10:00
Henning Thielemann
cc58ac7bf5 cli: Commands.Print.transactionToSpreadsheet: vertically merge common index, date, description and other cells 2024-10-19 16:52:54 -10:00
Henning Thielemann
8b391e2a07 cli: Commands.Print: add export to FODS and HTML
use common Spreadsheet framework for CSV export, too
2024-10-19 16:52:54 -10:00
Henning Thielemann
6773bf0974 cli: Commands.Register: add HTML and FODS to outputFormatFlag 2024-10-19 16:49:24 -10:00
Henning Thielemann
e144ad4ccd cli: Cli.Commands.Balance: give table names according to report type 2024-10-19 16:49:24 -10:00
Henning Thielemann
0c536da5ff doc: hledger.m4.md: FODS output - describe the advantages over CSV 2024-10-19 16:49:24 -10:00
Henning Thielemann
4fe51cb911 doc: hledger.m4.md: add FODS to all CompoundBalance commands in output format matrix 2024-10-19 16:49:24 -10:00
Simon Michael
b940254025 imp:cli: detect --color more safely in most cases
--color now also works in a config file, like --pager, except for two
cases: it does not affect colouring of debug output, or the colouring
helpers used in the check recentassertions error message.
2024-10-19 16:28:36 -10:00
Simon Michael
711d921774 imp:cli: --no-pager -> --pager, make this and --color safe options 2024-10-19 16:28:36 -10:00
Simon Michael
7fee69d7ab imp:cli: deprecate always/never --color values (though still support) 2024-10-19 16:28:36 -10:00
Simon Michael
9317354f20 doc: note issues with --color, --debug in config files 2024-10-19 16:28:36 -10:00
Simon Michael
66df5ed40f imp: expose config file args to getArgs; make --no-pager work there 2024-10-19 16:28:36 -10:00
Simon Michael
3e48451c3f imp: note unsafe args / config file limitation; make --no-pager safe 2024-10-19 16:28:36 -10:00
Simon Michael
18dceef1ce imp:cli: move --no-pager/--color to the help flags, available everywhere 2024-10-19 16:28:36 -10:00
Simon Michael
ba786752d1 imp📟 add a --no-pager general flag 2024-10-19 16:28:36 -10:00
Simon Michael
db748465a8 fix📟 when the $PAGER is not in PATH, print instead of failing 2024-10-19 16:28:36 -10:00
Simon Michael
4441680d7b fix:lib:Hledger.Utils.IO.pager: avoid a crash; avoid an extra newline 2024-10-19 16:28:36 -10:00
Simon Michael
3b7420b97c feat: use a pager for all large terminal output, not just for help 2024-10-19 16:28:36 -10:00
Henning Thielemann
a758eb0b5a doc: hledger.m4: add HTML+FODS to register in output format matrix 2024-10-18 00:07:11 -10:00
Henning Thielemann
86c3d7d656 cli: Commands.Register: support hyperlinks to hledger-web in HTML and FODS output
new option --base-url as in `balance` et.al.

Cli.Anchor: new module initialized with functions from Commands.Balance
2024-10-18 00:07:11 -10:00
Henning Thielemann
96e0500ea7 cli: Commands.Register.postingsReportItemAsRecord: format transaction index as integer
lib: Write.Spreadsheet.Type: new TypeInteger
2024-10-18 00:07:11 -10:00
Henning Thielemann
b23753f5ae cli: Commands.Register.postingsReportItemAsRecord: export amounts as number plus commodity
lib: Write.Spreadsheet.cellFromMixedAmount, cellsFromMixedAmount: taken from Cli.Balance
2024-10-18 00:07:11 -10:00
Henning Thielemann
d7b713f958 lib: Write.Ods.styleNames: common generation of ODS style names for both formatCell and cellConfig 2024-10-18 00:07:11 -10:00
Henning Thielemann
fe53b9b6ee lib: Write.Ods: disambiguate style names for DataMixedAmount and DataString (bugfix) 2024-10-18 00:07:11 -10:00
Henning Thielemann
991c56caef cli: Commands.Register.postingsReportAsSpreadsheet: generalize CSV output to HTML and FODS 2024-10-18 00:07:11 -10:00
Simon Michael
121b648bdb ;doc: output: edits 2024-10-17 20:18:02 -10:00
Simon Michael
4cf064e526 ;doc: text output: fix formatting, 2 2024-10-17 19:50:35 -10:00
Simon Michael
12cc571441 ;doc: text output: fix formatting 2024-10-17 19:47:14 -10:00
Simon Michael
7cbe75c523 ;doc: output format: updates, consolidate terminal topics 2024-10-17 19:30:02 -10:00
Simon Michael
733fec604b ;doc: text output: expand 2024-10-17 18:25:10 -10:00
Simon Michael
0f7aaa9600 imp: check accounts: simplify confusing suggestion in error message, 2 2024-10-16 21:19:51 -10:00
Simon Michael
d82c860f0d ;doc: special characters: edit 2024-10-16 18:39:06 -10:00
Simon Michael
7793ffe17d ;doc: special characters: edit 2024-10-16 18:14:16 -10:00
Simon Michael
e91be9e799 ;doc: special characters: more edits, more precision 2024-10-16 18:12:24 -10:00
Simon Michael
8683d5feb2 ;doc: special characters: edits 2024-10-16 16:23:45 -10:00
Simon Michael
0dbcafdebb ;doc: special characters: updates 2024-10-16 16:03:20 -10:00
Simon Michael
391bd6fac9 ;doc: special characters: clarify windows differences 2024-10-16 15:01:57 -10:00
Simon Michael
1fa8b79640 ;doc: update manuals 2024-10-15 16:36:54 -10:00
Simon Michael
b1677e8b2c ;doc: update help 2024-10-15 16:36:54 -10:00
Simon Michael
6bd5012b9b ;doc: changelogs 2024-10-15 16:36:54 -10:00
Simon Michael
d6d93e33ac ;doc: REGRESSIONS: update 2024-10-15 16:36:54 -10:00
Simon Michael
36d1093b84 imp: check accounts: simplify confusing suggestion in error message 2024-10-15 16:36:54 -10:00
Henning Thielemann
49f1af04ef cli: CompoundBalance.compoundBalanceReportAsSpreadsheet: somehow support layout tidy
However, it is not quite correct since it contains totals and net values.
2024-10-15 14:13:53 -10:00
Henning Thielemann
270360a103 cli: Commands.Balance: hide total rows for all output formats for layout=tidy 2024-10-15 14:13:53 -10:00
Henning Thielemann
fa58dc11f4 cli: Commands.Balance: remove lambda on ropts1 for balanceReport*
This is consistent with the calls to multiBalanceReport* and budgetReport*.
2024-10-15 14:13:53 -10:00
amano.kenji
f6c98ec1d6 feat(hledger-ui): add helix as a supported editor 2024-10-15 08:03:12 -10:00
Henning Thielemann
9d1ba5c588 cli: CompoundBalanceCommand.compoundBalanceReportAsSpreadsheet: common function for CSV, HTML, FODS export 2024-10-14 20:59:51 -10:00