An open API service indexing awesome lists of open source software.

https://github.com/naoigcat/thor-moneyforward

Export/Import Money Forward expenses and incomes in csv format.
https://github.com/naoigcat/thor-moneyforward

docker ruby

Last synced: about 2 months ago
JSON representation

Export/Import Money Forward expenses and incomes in csv format.

Awesome Lists containing this project

README

          

# Exporter/Importer for Money Forward

Export/Import Money Forward expenses and incomes in csv format.

## Requirements

- Docker

## Usage

### Export/Import

Prepare csv with the following header in the root of the project directory,

```csv
"計算対象","日付","内容","金額(円)","保有金融機関","大項目","中項目","メモ","振替","ID"
```

and run below command.

```sh
docker compose build
docker compose run --rm app export
docker compose run --rm app import
docker compose down
```

### Complement Sub Account

Run below command.

```sh
docker compose build
docker compose run --rm app account JPY
docker compose down
```

## Development

1. Run command to start a container.

```sh
docker compose build
docker compose run --rm --entrypoint /bin/bash app
```

2. Edit entrypoint.thor.

3. Lint using RuboCop.

```sh
docker run --rm --volume ${PWD}:/code registry.gitlab.com/pipeline-components/rubocop:latest -d -E
```

4. Run command to stop the container.

```sh
docker compose down
```

## Author

naoigcat

## License

MIT