comdirect

command
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

README

comdirect CLI

comdirect CLI tool lets you interact with your comdirect account, depot and documents.

Install

go install github.com/jsattler/go-comdirect/comdirect@main

Getting Started

Usage:
    comdirect [COMMAND] [SUBCOMMAND] [OPTIONS] [ID]
Authentication

To log in you can specify the credentials through the options or when prompted.

The login command will try to store the credentials in one of the following locations depending on your OS

  • OS X KeyChain
  • Secret Service dbus interface (GNOME Keyring)
  • Windows Credentials Manager
comdirect login \
  --clientID=<clientID> \
  --clientSecret=<clientSecret> \
  --username=<username> \
  --password=<password>

or

comdirect login

The logout command will remove all stored credentials, access and refresh tokens from the mentioned credential providers.

comdirect logout 
Account

List all account information and balances (giro Konto, tagesgeldplus etc.)

comdirect account balance

Retrieve account information and balances for a specific account

comdirect account balance <accountID>

Retrieve account transactions for a specific account

comdirect account transaction <accountID>
Depot

Retrieve depot information

comdirect depot

Retrieve depot positions for a specific depot

comdirect depot position <depotID>

Retrieve a specific depot position for a specific depot

comdirect depot position --position=<positionID> <depotID>

Retrieve all transactions for a specific depot

comdirect depot transaction <depotID>
Document

Retrieve all documents from the postbox

comdirect document

Retrieve a specific document

comdirect document <documentID>

Security

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL