Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

5.2.1

Compare
Choose a tag to compare
@yesnault yesnault released this 22 Jan 13:18
· 53 commits to master since this release

Feature

Stream messages and display only username and text.

tatcli msg list /Internal/Alerts --stream --streamFormat '$TAT_MSG_AUTHOR_USERNAME $TAT_MSG_TEXT '

Stream messages and execute foo.sh on each message with 2 arguments: message ID and message Text.

echo 'echo $* >> foo.log' > foo.sh && chmod +x foo.sh

tatcli msg list /Internal/Alerts --stream --exec './foo.sh $TAT_MSG_ID $TAT_MSG_TEXT'

You can use :

  • $TAT_MSG_ID
  • $TAT_MSG_TEXT
  • $TAT_MSG_TOPIC
  • $TAT_MSG_INREPLYOFID
  • $TAT_MSG_INREPLYOFIDROOT
  • $TAT_MSG_NBLIKES
  • $TAT_MSG_NBVOTESUP
  • $TAT_MSG_NBVOTESDOWN
  • $TAT_MSG_DATECREATION
  • $TAT_MSG_DATECREATION_HUMAN
  • $TAT_MSG_DATEUPDATE
  • $TAT_MSG_DATEUPDATE_HUMAN
  • $TAT_MSG_AUTHOR_USERNAME
  • $TAT_MSG_NBREPLIES
  • $TAT_MSG_MSG_LABELS
  • $TAT_MSG_MSG_TAGS
  • $TAT_MSG_LIKERS
  • $TAT_MSG_VOTERSUP
  • $TAT_MSG_VOTERSDOWN
  • $TAT_MSG_USERMENTIONS
  • $TAT_MSG_URLS