[DRAFT] Create Redmine users from CSV and add users to a group.
Go to file
2024-01-15 23:40:41 +01:00
dist ci: add compile script and track binaries 2024-01-15 23:19:59 +01:00
src feat: export function to mod 2024-01-15 22:54:55 +01:00
deno.json ci: add compile script and track binaries 2024-01-15 23:19:59 +01:00
deno.lock feat: use cliffy for cli and refactor main 2024-01-15 23:12:49 +01:00
LICENSE doc: add license 2024-01-15 23:24:30 +01:00
main.ts refactor: rename cli short option 2024-01-15 23:35:24 +01:00
README.md doc: add README 2024-01-15 23:40:41 +01:00
type.ts style: fix fmt config 2024-01-15 21:05:44 +01:00
utils.ts feat: improve logging 2024-01-15 21:59:22 +01:00

Redmine CSV loader

Create Redmine users from CSV and add users to a group.

⚠️ This project is only a draft, it's working but not intended to be use widely ⚠️

Requirements

The users CSV file must be in utf-8 using "," or ";" as separator. The required headers must be exactly "firstname", "lastname" and "mail" in any order (all other header will be skipped).

firstname;lastname;mail
jean;dupont;jean.dupont@example.com
alice;coger;alice.coger@example.com
bob;parraut;bob.parraut@example.com

Usage

Get help

./redmine-csv-loader --help

Create users

./redmine-csv-loader ./path/to/csv -k "my_api_key"

Add existing users to a group

./redmine-csv-loader ./path/to/csv -k "my_api_key" -a -g "my_group"