Skip to content

Latest commit

 

History

History
61 lines (38 loc) · 2.46 KB

README.md

File metadata and controls

61 lines (38 loc) · 2.46 KB

Moneybird CLI Project Logo

Moneybird CLI

.NET Core

Moneybird CLI tool. This is currently a tech demo for the Moneybird SDK project.

Table of Contents

Installation

  1. Clone repository
  2. Configure environment variables as described below
  3. Login using dotnet run --project src/DutchAndBold/MoneybirdCli login
Environment variable Description
MoneyBirdCli_Moneybird__Api__ClientId The client id obtained with the instructions below
MoneyBirdCli_Moneybird__Api__ClientSecret The client secret obtained with the instructions below

Requirements

  • Dotnet SDK >= 3.1 **

** Because this currently is a tech demo, it requires compilation with the Dotnet SDK. Pre-compiled binaries will become available later.

Getting a client id and secret

  1. Go to https://moneybird.com/user/applications/new
  2. Choose 'API Token for external application'
  3. Enter `urn:ietf:wg:oauth:2.0:oob' as redirect url.

Usage

Test if connection is working using dotnet run --project src/DutchAndBold/MoneybirdCli test-connection

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

Setting up the project

  1. Clone the project to a local directory
  2. Restore packages with nuget

Requirements

  • Dotnet SDK >= 3.1

Coding style and rules

This project adopts the Microsoft recommended code quality rules and .NET API usage rules. To adhere to these rules the project uses Microsoft.CodeAnalysis.FxCopAnalyzers package for code analysis in all projects.