.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.49.2.
.TH TREEIFY "1" "November 2022" "treeify 2.3.5" "User Commands"
.SH NAME
treeify \- manual page for treeify 2.3.5
.SH DESCRIPTION
usage: treeify [\-h] [\-o OUTPUT] [\-r PATTERN] [\-d DELIMITER] [\-s SPLIT] [\-F]
.IP
[\-A] [\-\-filler FILLER]
[input]
.PP
Identify a column of text that contains hierarchical id and treeify that
column. This script will inspect a text file and attempt to find a vertically
left\-aligned column of text that contains identifiers with multiple
components, such as "Assets:US:Bank:Checking", and replace those by a treelike structure rendered in ASCII, inserting new empty lines where necessary to
create the tree. Note: If your paths have spaces in them, this will not work.
Space is used as a delimiter to detect the end of a column. You can customize
the delimiter with an option.
.SS "positional arguments:"
.TP
input
Name of the file to process (default: stdin)
.SS "options:"
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
\fB\-o\fR OUTPUT, \fB\-\-output\fR OUTPUT
Name of the file to write (default: stdout)
.TP
\fB\-r\fR PATTERN, \fB\-\-pattern\fR PATTERN
Pattern for repeatable components (default: "(Assets|L
iabilities|Equity|Income|Expenses)(:[A\-Z][A\-Za\-z0\-9\-
_']*)*")
.TP
\fB\-d\fR DELIMITER, \fB\-\-delimiter\fR DELIMITER
Delimiter pattern to detect the end of a column text.
If your pattens contain strings, you may want to set
this to a longer string, like ' {2,}' (default: "[
]+")
.TP
\fB\-s\fR SPLIT, \fB\-\-split\fR SPLIT
Pattern splitting into components (default: ":")
.TP
\fB\-F\fR, \fB\-\-filenames\fR
Use pattern and split suitable for filenames
.TP
\fB\-A\fR, \fB\-\-loose\-accounts\fR
Use pattern and split suitable for loose account names
.TP
\fB\-\-filler\fR FILLER
Filler string for new lines inserted for formatting