diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 26 |
1 files changed, 17 insertions, 9 deletions
@@ -1,6 +1,23 @@ # Debt A debt recorder, which helps to remember who owns you money +## Usage + +``` +Usage: debt [OPTIONS] <COMMAND> + +Commands: + init Initialize Database + register Register a transaction + view View Registered data + add Add a new agent to lend or pay + help Print this message or the help of the given subcommand(s) + +Options: + -d, --database-path <DATABASE_PATH> file path where data is stored [default: $XDG_DATA_HOME/debt/debt.db [env: DEBT_DB=] + -h, --help Print help + -V, --version Print version +``` ## Database @@ -21,12 +38,3 @@ CREATE TABLE Registers ( FOREIGN KEY(agent_id) REFERENCES Agents(id) ) ``` - -## Client - -``` -Usage: - debt action [options] -``` - -## Server |