[DRAFT] Create Redmine users from CSV and add users to a group.
Go to file
2024-01-15 23:45:27 +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: improve README informations 2024-01-15 23:45:27 +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 ⚠️

Binaries are placed in dist/ for x64.

  • "*": linux
  • "*.exe": windows

Script can be run directly with deno task start for other architectures or compile with deno task compile using deno.

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

./dist/redmine-csv-loader --help

Create users

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

Add existing users to a group

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