<commit_before>.TH SMPL 1 "2015 March 22" CEL "smpl"

.SH NAME
smpl \- access a Simple bank account

.SH SYNOPSIS
.B smpl
[ 
.I COMMAND
] [ 
.I OPTIONS
]... [ 
.I ARGS
]...

.SH DESCRIPTION
.B smpl
is an unofficial client for simple.com's API.
The
.B smpl
utility provides a series of commands for retrieving account data and
transactions from a Simple account.

There is a corresponding bash completion script for use with tab completing
commands and options in
.BR bash (1).

\fBsmpl\fR is not a product of Simple
Finance Technology Corp. or The Bancorp Bank.

.SH COMMANDS
.TP
\fBbalance\fP
Get the balance of your account, including account total, pending charges, and
available balance.
.TP
\fBcard\fP
Show the status of your debit card.
.TP
\fBlinked-accounts\fP
Get a list of bank accounts linked to your Simple account.
.TP
\fBtransactions\fP
Get a list of recent transactions. See also \fBTRANSACTIONS OPTIONS\fP.
.TP
\fBclean-cache\fP
Delete cached server data
.TP
\fBhelp\fP \fIcommand\fP
Get info about a command

.SH OPTIONS
.TP
.BI "-v, --verbose"
Give more output.
.TP
.BI "-n, --no-cache"
Skip cache and make a live request.
.TP
.BI "-r, --raw"
Show raw JSON data instead of formatting the response.
.SS "TRANSACTIONS OPTIONS"
.TP
.BI "-a, --all"
Show all transactions, rather than only the most recent.
.TP
.BI "--format=" "format"
Specify the output format.  The format may be \fIsimple\fR (the default) to include the exact date and
running balance, or \fIledger\fR to produce an output readable by
.BR ledger (1)
.
.TP
.BI "--since=" "hours"
Show only transactions from in the past given number of hours.

.SH ENVIRONMENT
.TP
.I SIMPLE_USERNAME
Use the given account username to log in with, instead of prompting for a
username interactively.
.TP
.I SIMPLE_PASSWORD
Use the given password for logging in. If this variable is empty or not set, 
.B smpl
will prompt for a password to log in.
.TP
.I SIMPLE_PASSCMD
If set, this shell fragment will be run and the output used as the password for
logging in. This overrides the \fISIMPLE_PASSWORD\fP variable.
.TP
.I SIMPLE_COOKIEJAR
Override the default location (\fI~/.smpl_cookies.txt\fR) for storing
session cookies.

.SH FILES
.TP
.B ~/.smpl_cookies.txt
Contains session cookies used for communicating with simple.com. The filename
used may be changed by setting \fISIMPLE_COOKIEJAR\fP to another filename.
.TP
.B /tmp/smpl-$USER
Contains cached responses to server requests. This may be cleaned out using the
\fBclean-cache\fB command.

.SH AUTHORS
.B smpl
was written by
.MT <EMAIL><commit_msg>Note pass(1) for passcmd<commit_after>.TH SMPL 1 "2015 March 22" CEL "smpl"

.SH NAME
smpl \- access a Simple bank account

.SH SYNOPSIS
.B smpl
[ 
.I COMMAND
] [ 
.I OPTIONS
]... [ 
.I ARGS
]...

.SH DESCRIPTION
.B smpl
is an unofficial client for simple.com's API.
The
.B smpl
utility provides a series of commands for retrieving account data and
transactions from a Simple account.

There is a corresponding bash completion script for use with tab completing
commands and options in
.BR bash (1).

\fBsmpl\fR is not a product of Simple
Finance Technology Corp. or The Bancorp Bank.

.SH COMMANDS
.TP
\fBbalance\fP
Get the balance of your account, including account total, pending charges, and
available balance.
.TP
\fBcard\fP
Show the status of your debit card.
.TP
\fBlinked-accounts\fP
Get a list of bank accounts linked to your Simple account.
.TP
\fBtransactions\fP
Get a list of recent transactions. See also \fBTRANSACTIONS OPTIONS\fP.
.TP
\fBclean-cache\fP
Delete cached server data
.TP
\fBhelp\fP \fIcommand\fP
Get info about a command

.SH OPTIONS
.TP
.BI "-v, --verbose"
Give more output.
.TP
.BI "-n, --no-cache"
Skip cache and make a live request.
.TP
.BI "-r, --raw"
Show raw JSON data instead of formatting the response.
.SS "TRANSACTIONS OPTIONS"
.TP
.BI "-a, --all"
Show all transactions, rather than only the most recent.
.TP
.BI "--format=" "format"
Specify the output format.  The format may be \fIsimple\fR (the default) to include the exact date and
running balance, or \fIledger\fR to produce an output readable by
.BR ledger (1)
.
.TP
.BI "--since=" "hours"
Show only transactions from in the past given number of hours.

.SH ENVIRONMENT
.TP
.I SIMPLE_USERNAME
Use the given account username to log in with, instead of prompting for a
username interactively.
.TP
.I SIMPLE_PASSWORD
Use the given password for logging in. If this variable is empty or not set, 
.B smpl
will prompt for a password to log in.
.TP
.I SIMPLE_PASSCMD
If set, this shell fragment will be run and the output used as the password for
logging in. Use with e.g.
.BR pass (1).
This overrides the \fISIMPLE_PASSWORD\fP variable.
.TP
.I SIMPLE_COOKIEJAR
Override the default location (\fI~/.smpl_cookies.txt\fR) for storing
session cookies.

.SH FILES
.TP
.B ~/.smpl_cookies.txt
Contains session cookies used for communicating with simple.com. The filename
used may be changed by setting \fISIMPLE_COOKIEJAR\fP to another filename.
.TP
.B /tmp/smpl-$USER
Contains cached responses to server requests. This may be cleaned out using the
\fBclean-cache\fB command.

.SH AUTHORS
.B smpl
was written by
.MT <EMAIL>
{'fraction_non_alphanumeric': 0.08122220073486754, 'fraction_numerical': 0.0038677238445175015, 'mean_word_length': 3.5528169014084505, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6023174', 'n_tokens_mistral': 1787, 'n_tokens_neox': 1700, 'n_words': 792}