From 098c10063ee64b818cc14b07d15f34523e780c53 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Mon, 15 Jan 2024 23:40:41 +0100 Subject: [PATCH] doc: add README --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..edd8197 --- /dev/null +++ b/README.md @@ -0,0 +1,38 @@ +# 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). + +```csv +firstname;lastname;mail +jean;dupont;jean.dupont@example.com +alice;coger;alice.coger@example.com +bob;parraut;bob.parraut@example.com +``` + +## Usage + +### Get help + +```sh +./redmine-csv-loader --help +``` + +### Create users + +```sh +./redmine-csv-loader ./path/to/csv -k "my_api_key" +``` + +### Add existing users to a group + +```sh +./redmine-csv-loader ./path/to/csv -k "my_api_key" -a -g "my_group" +```