User commands: tatcli user <command>
Usage:
tatcli user [command]
Aliases:
user, u
Available Commands:
list List all users: tatcli user list [<skip>] [<limit>]
me Get Information about you: tatcli user me
contacts Get contacts presences since n seconds: tatcli user contacts <seconds>
addContact Add a contact: tatcli user addContact <contactUsername>
removeContact Remove a contact: tatcli user removeContact <contactUsername>
addFavoriteTopic Add a favorite Topic: tatcli user addFavoriteTopic <topicName>
removeFavoriteTopic Remove a favorite Topic: tatcli user removeFavoriteTopic <topicName>
enableNotificationsTopic Enable notifications on a topic: tatcli user enableNotificationsTopic <topicName>
enableNotificationsAllTopics Enable notifications on a topic: tatcli user enableNotificationsAllTopics
disableNotificationsTopic Disable notifications on a topic: tatcli user disableNotificationsTopic <topicName>
disableNotificationsAllTopics Disable notifications on all topics: tatcli user disableNotificationsAllTopics
addFavoriteTag Add a favorite Tag: tatcli user addFavoriteTag <tag>
removeFavoriteTag Remove a favorite Tag: tatcli user removeFavoriteTag <tag>
add Add a user: tatcli user add <username> <email> <fullname>
reset Ask for Reset a password: tatcli user reset <username> <email>
resetSystemUser Reset password for a system user (admin only): tatcli user resetSystemUser <username>
convert Convert a user to a system user (admin only): tatcli user convert <username> <canListUsersAsAdmin>
updateSystemUser Update a system user (admin only): tatcli user updateSystemUser <username> <canListUsersAsAdmin>
archive Archive a user (admin only): tatcli user archive <username>
rename Rename username of a user (admin only): tatcli user rename <oldUsername> <newUsername>
update Update Fullname and Email of a user (admin only): tatcli user update <username> <newEmail> <newFullname>
setAdmin Grant user to Tat admin (admin only): tatcli user setAdmin <username>
verify Verify account: tatcli user verify [--save] <username> <tokenVerify>
check Check Private Topics and Default Group on one user (admin only): tatcli user check <username> <fixPrivateTopics> <fixDefaultGroup>
Flags:
-h, --help=false: help for user
Global Flags: see tatcli -h
tatcli user add username email fullname
tatcli user verify username tokenVerify
For saving configuration in $HOME/.tatcli/config.json file
tatcli user verify --save username tokenVerify
tatcli user reset username email
tatcli user me
tatcli user contacts 15
tatcli user addFavoriteTag myTag
tatcli user removeFavoriteTag myTag
tatcli user addFavoriteTopic /topic/sub-topic
tatcli user removeFavoriteTopic /topic/sub-topic
Notifications are by default enabled on topic
tatcli user enableNotificationsTopic /topic/sub-topic
tatcli user disableNotificationsTopic /topic/sub-topic
Notifications are by default enabled on all topics
tatcli user enableNotificationsAllTopics
tatcli user disableNotificationsAllTopics
tatcli user list
with groups (admin only):
tatcli user list --withGroups
tatcli user convert usernameToConvertSystem flagCanWriteOnNotificationsTopics flagCanListUsersAsAdmin
flagCanWriteOnNotificationsTopics could be true or false
flagCanListUsersAsAdmin could be true or false
tatcli user userSystemUser usernameOfSystemUser flagCanWriteOnNotificationsTopics flagCanListUsersAsAdmin
flagCanWriteOnNotificationsTopics could be true or false
flagCanListUsersAsAdmin could be true or false
tatcli user setAdmin usernameToGrant
tatcli user archive usernameToArchive
tatcli user rename oldUsername newUsername
tatcli user update username newEmail newFirstname newLastname
Check Private Topics and Default Group on one user:
tatcli user check <username> <fixPrivateTopics> <fixDefaultGroup>
Example :
tatcli check username true true