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.
- Host: GitHub
- URL: https://github.com/naoigcat/thor-moneyforward
- Owner: naoigcat
- License: mit
- Created: 2020-09-21T11:15:06.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-13T19:42:37.000Z (over 1 year ago)
- Last Synced: 2024-11-13T20:31:32.856Z (over 1 year ago)
- Topics: docker, ruby
- Language: Ruby
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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