[Enhancement] Add parameters for executing actions programatically from calibre-server --manage-users
Bug #1912337 reported by
Jonas Vacek
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I would like to be able to create users for calibredb on the command line as part of an installation script, and due to the script being interactive, this hampers my flow a bit.
I've attempted to pipe the "answers" via stdin like so, but had little luck past "1"
``` bash
echo -e "1\n$user\
calibre-server --userdb ~/.calibreconf/
```
Having options like `--add-user $username $password`, `--change-pass $username $newpass` or `--remove-user $username` would be grand!
tags: | added: cli |
tags: | added: calibre-server content-server |
To post a comment you must log in.
Should be trivial to do using the expect tool.