From 862165ba9d3888332181f853ba44137bca5e9448 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Jans=C3=B8n=20Engvik?= Date: Sat, 8 May 2021 18:09:31 +0200 Subject: [PATCH 1/5] chore(modules): sbanken-go@1.2.0 --- go.mod | 2 +- go.sum | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 03cdb37..8d5e767 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/engvik/sbanken-cli go 1.15 require ( - github.com/engvik/sbanken-go v1.1.0 + github.com/engvik/sbanken-go v1.2.0 github.com/jedib0t/go-pretty/v6 v6.0.5 github.com/kr/text v0.2.0 // indirect github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect diff --git a/go.sum b/go.sum index 4dfdfc4..7221c81 100644 --- a/go.sum +++ b/go.sum @@ -6,8 +6,8 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/engvik/sbanken-go v1.1.0 h1:wh/aNyjm7PoUk4nMVM6PmacYA1/RynaygVjJ5OnyHFw= -github.com/engvik/sbanken-go v1.1.0/go.mod h1:EvtkZuNhNnVGwiuyIz4u59h3mtKB9Uic36spBs/UHxc= +github.com/engvik/sbanken-go v1.2.0 h1:6Ot0uPBZheUTT9ubKaBvPh5uz/CcqeYKXufl5sGTtjI= +github.com/engvik/sbanken-go v1.2.0/go.mod h1:EvtkZuNhNnVGwiuyIz4u59h3mtKB9Uic36spBs/UHxc= github.com/jedib0t/go-pretty/v6 v6.0.5 h1:oOo0/jSb3NEYKT6l1hhFXoX2UZnkanMuCE2DVT1mqnE= github.com/jedib0t/go-pretty/v6 v6.0.5/go.mod h1:MTr6FgcfNdnN5wPVBzJ6mhJeDyiF0yBvS2TMXEV/XSU= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= @@ -34,11 +34,9 @@ github.com/urfave/cli/v2 v2.2.0/go.mod h1:SE9GqnLQmjVa0iPEY0f1w3ygNIYcIJ0OKPMoW2 golang.org/x/sys v0.0.0-20180816055513-1c9583448a9c/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= From ab821e69b1e2330e6cba6c1677d270e1c0ea1af3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Jans=C3=B8n=20Engvik?= Date: Sat, 8 May 2021 18:10:24 +0200 Subject: [PATCH 2/5] feature: remove customer id --- cmd/sbanken/main.go | 2 +- internal/cli/cli.go | 4 ---- internal/sbanken/sbanken.go | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/cmd/sbanken/main.go b/cmd/sbanken/main.go index b000c19..93a00ea 100644 --- a/cmd/sbanken/main.go +++ b/cmd/sbanken/main.go @@ -10,7 +10,7 @@ import ( ) // VERSION is the current sbanken-cli version -const VERSION string = "1.5.0" +const VERSION string = "1.6.0" func main() { ctx := context.Background() diff --git a/internal/cli/cli.go b/internal/cli/cli.go index 4895e97..dfe81e3 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -68,10 +68,6 @@ func New(ctx context.Context, conn sbankenConn, version string) *cli.App { if c.String("client-secret") == "" { return errors.New("client-secret is a required parameter") } - - if c.String("customer-id") == "" { - return errors.New("customer-id is a required parameter") - } } if err := conn.ConnectClient(ctx, c, version); err != nil { diff --git a/internal/sbanken/sbanken.go b/internal/sbanken/sbanken.go index 0f2e795..ebdf133 100644 --- a/internal/sbanken/sbanken.go +++ b/internal/sbanken/sbanken.go @@ -76,7 +76,6 @@ func (c *Connection) ConnectClient(ctx context.Context, cliCtx *cli.Context, ver cfg := &sbanken.Config{ ClientID: cliCtx.String("client-id"), ClientSecret: cliCtx.String("client-secret"), - CustomerID: cliCtx.String("customer-id"), UserAgent: fmt.Sprintf("sbanken-cli/%s (github.com/engvik/sbanken-cli)", version), } From 5139ba192a4c43ad4d2faba8f4a63693f2531a96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Jans=C3=B8n=20Engvik?= Date: Sat, 8 May 2021 19:14:01 +0200 Subject: [PATCH 3/5] feature: implement sbanken-go@1.2.0 features --- internal/cli/transactions.go | 7 +++- internal/output/table/accounts.go | 5 +-- internal/output/table/cards.go | 4 +-- internal/output/table/transactions.go | 2 ++ internal/sbanken/accounts_test.go | 50 +++++++++++++++------------ internal/sbanken/cards_test.go | 14 +++++--- internal/sbanken/customers_test.go | 12 ++++--- internal/sbanken/sbanken.go | 1 + internal/sbanken/transactions.go | 13 ++++++- internal/sbanken/transactions_test.go | 20 +++++++---- 10 files changed, 83 insertions(+), 45 deletions(-) diff --git a/internal/cli/transactions.go b/internal/cli/transactions.go index 5f65dee..98f39c9 100644 --- a/internal/cli/transactions.go +++ b/internal/cli/transactions.go @@ -16,7 +16,7 @@ func getTransactionsCommand(conn transactions) *cli.Command { Flags: []cli.Flag{ &cli.StringFlag{ Name: "id", - Usage: "account id (or name) to list payments from", + Usage: "account id (or name) to list transactions from", Required: true, }, &cli.StringFlag{ @@ -54,6 +54,11 @@ func getTransactionsCommand(conn transactions) *cli.Command { Usage: "list more transaction details if applicable", Aliases: []string{"td"}, }, + &cli.BoolFlag{ + Name: "archived", + Usage: "lists only archived transactions", + Aliases: []string{"a"}, + }, }, Action: conn.ListTransactions, } diff --git a/internal/output/table/accounts.go b/internal/output/table/accounts.go index b2d707e..7b4840c 100644 --- a/internal/output/table/accounts.go +++ b/internal/output/table/accounts.go @@ -10,7 +10,7 @@ func (w *Writer) ListAccounts(accounts []sbanken.Account) { w.setAccountsColors() } - w.table.AppendHeader(table.Row{"ID", "Type", "Name", "Number", "Balance", "Available", "Credit Limit"}) + w.table.AppendHeader(table.Row{"ID", "Type", "Owner Customer ID", "Name", "Number", "Balance", "Available", "Credit Limit"}) var rows []table.Row var balance float32 @@ -18,7 +18,7 @@ func (w *Writer) ListAccounts(accounts []sbanken.Account) { var creditLimit float32 for _, a := range accounts { - rows = append(rows, table.Row{a.ID, a.Type, a.Name, a.Number, a.Balance, a.Available, a.CreditLimit}) + rows = append(rows, table.Row{a.ID, a.Type, a.OwnerCustomerID, a.Name, a.Number, a.Balance, a.Available, a.CreditLimit}) balance += a.Balance available += a.Available creditLimit += a.CreditLimit @@ -32,6 +32,7 @@ func (w *Writer) ListAccounts(accounts []sbanken.Account) { func (w *Writer) ReadAccount(account sbanken.Account) { w.table.AppendRow(table.Row{"ID", account.ID}) w.table.AppendRow(table.Row{"Type", account.Type}) + w.table.AppendRow(table.Row{"Owner Customer ID", account.OwnerCustomerID}) w.table.AppendRow(table.Row{"Name", account.Name}) w.table.AppendRow(table.Row{"Number", account.Number}) w.table.AppendRow(table.Row{"Balance", account.Balance}) diff --git a/internal/output/table/cards.go b/internal/output/table/cards.go index 5e4f316..d99057a 100644 --- a/internal/output/table/cards.go +++ b/internal/output/table/cards.go @@ -6,12 +6,12 @@ import ( ) func (w *Writer) ListCards(cards []sbanken.Card) { - w.table.AppendHeader(table.Row{"ID", "Type", "Product Code", "Number", "Account Number", "ExpiryDate", "Status", "Version Number"}) + w.table.AppendHeader(table.Row{"ID", "Type", "Product Code", "Customer ID", "Account Owner", "Number", "Account Number", "ExpiryDate", "Status", "Version Number"}) var rows []table.Row for _, card := range cards { - rows = append(rows, table.Row{card.ID, card.Type, card.ProductCode, card.Number, card.AccountNumber, card.ExpiryDate, card.Status, card.VersionNumber}) + rows = append(rows, table.Row{card.ID, card.Type, card.ProductCode, card.CustomerID, card.AccountOwner, card.Number, card.AccountNumber, card.ExpiryDate, card.Status, card.VersionNumber}) } w.table.AppendRows(rows) diff --git a/internal/output/table/transactions.go b/internal/output/table/transactions.go index e6aacbb..e889478 100644 --- a/internal/output/table/transactions.go +++ b/internal/output/table/transactions.go @@ -14,6 +14,7 @@ func (w *Writer) ListTransactions(transactions []sbanken.Transaction, detailedOu w.table.AppendHeader(table.Row{ "Index", + "ID", "Text", "Amount", "Accounting Date", @@ -28,6 +29,7 @@ func (w *Writer) ListTransactions(transactions []sbanken.Transaction, detailedOu for i, tr := range transactions { rows = append(rows, table.Row{ i, + tr.TransactionID, tr.Text, tr.Amount, tr.AccountingDate, diff --git a/internal/sbanken/accounts_test.go b/internal/sbanken/accounts_test.go index 285c5b7..79c598b 100644 --- a/internal/sbanken/accounts_test.go +++ b/internal/sbanken/accounts_test.go @@ -13,22 +13,23 @@ import ( ) var testAccount = sbanken.Account{ - ID: "test-id", - Name: "test-name", - Type: "test-type", - Number: "test-number", - Available: 13.37, - Balance: 13.37, - CreditLimit: 0, + ID: "test-id", + Name: "test-name", + Type: "test-type", + Number: "test-number", + OwnerCustomerID: "test-owner-customer-id", + Available: 13.37, + Balance: 13.37, + CreditLimit: 0, } -var testListAccountsTable = `+---------+-----------+-----------+-------------+---------+-----------+--------------+ -| ID | TYPE | NAME | NUMBER | BALANCE | AVAILABLE | CREDIT LIMIT | -+---------+-----------+-----------+-------------+---------+-----------+--------------+ -| test-id | test-type | test-name | test-number | 13.37 | 13.37 | 0 | -+---------+-----------+-----------+-------------+---------+-----------+--------------+ -| | | | | 13.37 | 13.37 | 0 | -+---------+-----------+-----------+-------------+---------+-----------+--------------+ +var testListAccountsTable = `+---------+-----------+------------------------+-----------+-------------+---------+-----------+--------------+ +| ID | TYPE | OWNER CUSTOMER ID | NAME | NUMBER | BALANCE | AVAILABLE | CREDIT LIMIT | ++---------+-----------+------------------------+-----------+-------------+---------+-----------+--------------+ +| test-id | test-type | test-owner-customer-id | test-name | test-number | 13.37 | 13.37 | 0 | ++---------+-----------+------------------------+-----------+-------------+---------+-----------+--------------+ +| | | | | 13.37 | 13.37 | 0 | | ++---------+-----------+------------------------+-----------+-------------+---------+-----------+--------------+ ` var testListAccountsJSON = `[ @@ -37,6 +38,7 @@ var testListAccountsJSON = `[ "name": "test-name", "accountType": "test-type", "accountNumber": "test-number", + "ownerCustomerId": "test-owner-customer-id", "available": 13.37, "balance": 13.37, "creditLimit": 0 @@ -44,15 +46,16 @@ var testListAccountsJSON = `[ ] ` -var testReadAccountTable = `+--------------+-------------+ -| ID | test-id | -| Type | test-type | -| Name | test-name | -| Number | test-number | -| Balance | 13.37 | -| Available | 13.37 | -| Credit Limit | 0 | -+--------------+-------------+ +var testReadAccountTable = `+-------------------+------------------------+ +| ID | test-id | +| Type | test-type | +| Owner Customer ID | test-owner-customer-id | +| Name | test-name | +| Number | test-number | +| Balance | 13.37 | +| Available | 13.37 | +| Credit Limit | 0 | ++-------------------+------------------------+ ` var testReadAccountJSON = `{ @@ -60,6 +63,7 @@ var testReadAccountJSON = `{ "name": "test-name", "accountType": "test-type", "accountNumber": "test-number", + "ownerCustomerId": "test-owner-customer-id", "available": 13.37, "balance": 13.37, "creditLimit": 0 diff --git a/internal/sbanken/cards_test.go b/internal/sbanken/cards_test.go index e645425..d40bf56 100644 --- a/internal/sbanken/cards_test.go +++ b/internal/sbanken/cards_test.go @@ -19,14 +19,16 @@ var testCard = sbanken.Card{ Type: "test-type", ProductCode: "test-code", AccountNumber: "987654321", + AccountOwner: "183654729", + CustomerID: "1337", VersionNumber: 5, } -var testListCardsTable = `+-----------+-----------+--------------+-----------+----------------+------------+-------------+----------------+ -| ID | TYPE | PRODUCT CODE | NUMBER | ACCOUNT NUMBER | EXPIRYDATE | STATUS | VERSION NUMBER | -+-----------+-----------+--------------+-----------+----------------+------------+-------------+----------------+ -| test-card | test-type | test-code | 123456789 | 987654321 | timestamp | test-status | 5 | -+-----------+-----------+--------------+-----------+----------------+------------+-------------+----------------+ +var testListCardsTable = `+-----------+-----------+--------------+-------------+---------------+-----------+----------------+------------+-------------+----------------+ +| ID | TYPE | PRODUCT CODE | CUSTOMER ID | ACCOUNT OWNER | NUMBER | ACCOUNT NUMBER | EXPIRYDATE | STATUS | VERSION NUMBER | ++-----------+-----------+--------------+-------------+---------------+-----------+----------------+------------+-------------+----------------+ +| test-card | test-type | test-code | 1337 | 183654729 | 123456789 | 987654321 | timestamp | test-status | 5 | ++-----------+-----------+--------------+-------------+---------------+-----------+----------------+------------+-------------+----------------+ ` var testListCardsJSON = `[ @@ -38,6 +40,8 @@ var testListCardsJSON = `[ "cardType": "test-type", "productCode": "test-code", "accountNumber": "987654321", + "accountOwner": "183654729", + "customerId": "1337", "cardVersionNumber": 5 } ] diff --git a/internal/sbanken/customers_test.go b/internal/sbanken/customers_test.go index 5f96aee..6143c3c 100644 --- a/internal/sbanken/customers_test.go +++ b/internal/sbanken/customers_test.go @@ -38,8 +38,8 @@ var testGetCustomerTable = `+----------------+--------------------------+ | Last Name | test-last | | Email Address | test@test.com | | Date of Birth | 2021-01-31T10:05:54.590Z | -| Postal Address | {Tester street 1 } | -| Street Address | {Tester street 1 } | +| Postal Address | Tester street 1 | +| Street Address | Tester street 1 | | Phone Numbers | | | | 1 1337133713371337 | +----------------+--------------------------+ @@ -51,8 +51,8 @@ var testGetCustomerCustomerIDTable = `+----------------+------------------------ | Last Name | test-last | | Email Address | test@test.com | | Date of Birth | 2021-01-31T10:05:54.590Z | -| Postal Address | {Tester street 1 } | -| Street Address | {Tester street 1 } | +| Postal Address | Tester street 1 | +| Street Address | Tester street 1 | | Phone Numbers | | | | 1 1337133713371337 | +----------------+--------------------------+ @@ -68,6 +68,7 @@ var testGetCustomerJSON = `{ "addressLine1": "Tester street 1", "addressLine2": "", "addressLine3": "", + "addressLine4": "", "country": "", "zipCode": "", "city": "" @@ -76,6 +77,7 @@ var testGetCustomerJSON = `{ "addressLine1": "Tester street 1", "addressLine2": "", "addressLine3": "", + "addressLine4": "", "country": "", "zipCode": "", "city": "" @@ -99,6 +101,7 @@ var testGetCustomerCustomerIDJSON = `{ "addressLine1": "Tester street 1", "addressLine2": "", "addressLine3": "", + "addressLine4": "", "country": "", "zipCode": "", "city": "" @@ -107,6 +110,7 @@ var testGetCustomerCustomerIDJSON = `{ "addressLine1": "Tester street 1", "addressLine2": "", "addressLine3": "", + "addressLine4": "", "country": "", "zipCode": "", "city": "" diff --git a/internal/sbanken/sbanken.go b/internal/sbanken/sbanken.go index ebdf133..cc8b72e 100644 --- a/internal/sbanken/sbanken.go +++ b/internal/sbanken/sbanken.go @@ -28,6 +28,7 @@ type sbankenClient interface { ReadPayment(context.Context, string, string) (sbanken.Payment, error) ListStandingOrders(context.Context, string) ([]sbanken.StandingOrder, error) ListTransactions(context.Context, string, *sbanken.TransactionListQuery) ([]sbanken.Transaction, error) + ListArchivedTransactions(context.Context, string, *sbanken.TransactionListQuery) ([]sbanken.Transaction, error) Transfer(context.Context, *sbanken.TransferQuery) error GetCustomer(context.Context) (sbanken.Customer, error) } diff --git a/internal/sbanken/transactions.go b/internal/sbanken/transactions.go index 6003e7b..8c9ed5c 100644 --- a/internal/sbanken/transactions.go +++ b/internal/sbanken/transactions.go @@ -1,6 +1,7 @@ package sbanken import ( + "context" "time" "github.com/engvik/sbanken-go" @@ -19,7 +20,9 @@ func (c *Connection) ListTransactions(ctx *cli.Context) error { return err } - transactions, err := c.client.ListTransactions(ctx.Context, accountID, q) + archived := ctx.Bool("archived") + + transactions, err := c.getTransactions(ctx.Context, accountID, q, archived) if err != nil { return err } @@ -33,6 +36,14 @@ func (c *Connection) ListTransactions(ctx *cli.Context) error { return nil } +func (c *Connection) getTransactions(ctx context.Context, accountID string, q *sbanken.TransactionListQuery, archived bool) ([]sbanken.Transaction, error) { + if archived { + return c.client.ListArchivedTransactions(ctx, accountID, q) + } + + return c.client.ListTransactions(ctx, accountID, q) +} + func parseTransactionListQuery(ctx *cli.Context) (*sbanken.TransactionListQuery, error) { startDate := ctx.String("start-date") endDate := ctx.String("end-date") diff --git a/internal/sbanken/transactions_test.go b/internal/sbanken/transactions_test.go index 66fdb10..d1a8185 100644 --- a/internal/sbanken/transactions_test.go +++ b/internal/sbanken/transactions_test.go @@ -42,6 +42,7 @@ var testTransaction = sbanken.Transaction{ Text: "test-text", TransactionType: "test-type", TransactionTypeText: "test-type-text", + TransactionID: "", ReservationType: "test-reservation-type", Source: "source", Amount: 999.99, @@ -51,13 +52,13 @@ var testTransaction = sbanken.Transaction{ CardDetailsSpecified: true, } -var testListTransactionsTable = `+-------+-----------+--------+-----------------+---------------+------------------+----------------+ -| INDEX | TEXT | AMOUNT | ACCOUNTING DATE | INTEREST DATE | TRANSACTION TYPE | IS RESERVATION | -+-------+-----------+--------+-----------------+---------------+------------------+----------------+ -| 0 | test-text | 999.99 | timestamp | timestampt | test-type | true | -+-------+-----------+--------+-----------------+---------------+------------------+----------------+ -| | | 999.99 | | | | | -+-------+-----------+--------+-----------------+---------------+------------------+----------------+ +var testListTransactionsTable = `+-------+----+-----------+--------+-----------------+---------------+------------------+----------------+ +| INDEX | ID | TEXT | AMOUNT | ACCOUNTING DATE | INTEREST DATE | TRANSACTION TYPE | IS RESERVATION | ++-------+----+-----------+--------+-----------------+---------------+------------------+----------------+ +| 0 | | test-text | 999.99 | timestamp | timestampt | test-type | true | ++-------+----+-----------+--------+-----------------+---------------+------------------+----------------+ +| | | 999.99 | | | | | | ++-------+----+-----------+--------+-----------------+---------------+------------------+----------------+ ` var testListTransactionsTableDetailsText = ` @@ -120,6 +121,7 @@ var testListTransactionsJSON = `[ "transactionType": "test-type", "transactionTypeText": "test-type-text", "reservationType": "test-reservation-type", + "transactionId": "", "source": "source", "amount": 999.99, "transactionTypeCode": 0, @@ -135,6 +137,10 @@ func (c testClient) ListTransactions(context.Context, string, *sbanken.Transacti return []sbanken.Transaction{testTransaction}, nil } +func (c testClient) ListArchivedTransactions(context.Context, string, *sbanken.TransactionListQuery) ([]sbanken.Transaction, error) { + return []sbanken.Transaction{testTransaction}, nil +} + func TestListTransactions(t *testing.T) { tableConn := testNewConnection(t, table.NewWriter()) JSONConn := testNewConnection(t, json.NewWriter()) From 545a4d9e5294dc9c7060cedbeb8b5ed5f0dd3c44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Jans=C3=B8n=20Engvik?= Date: Sat, 8 May 2021 19:16:16 +0200 Subject: [PATCH 4/5] chore(Makefile): 1.6.0 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index aaebef3..bb3926b 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ default: build APP=sbanken -VERSION=1.5.0 +VERSION=1.6.0 ## build: build binaries and generate checksums build: From ab253f1fe3438f99f370b3c0951168fb69ef13b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Jans=C3=B8n=20Engvik?= Date: Sat, 8 May 2021 19:16:31 +0200 Subject: [PATCH 5/5] docs(README): 1.6.0 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1f89d73..c346ab4 100644 --- a/README.md +++ b/README.md @@ -163,7 +163,7 @@ USAGE: main [global options] command [command options] [arguments...] VERSION: - 1.5.0 + 1.6.0 COMMANDS: accounts, a list and read accounts