removed soft link "mc"

- let's do not force the softlink upon the user
- every user who wants something shorter then "matrix-commander.py" can create his/her own soft link or alias, etc.
pull/74/head
8go 3 months ago
parent 66a5a62b5b
commit 0133592d2a
  1. 6
      .gitignore
  2. 2
      event-templates/README.md
  3. 1
      mc
  4. 2
      tests/test-event.sh

6
.gitignore vendored

@ -14,3 +14,9 @@ matrix-commander.py.*
# ignore help file
help.txt
# ignore soft link
mc
# ignore certain scripts
/scripts/prepare-commit.sh

@ -10,7 +10,7 @@ have placeholders (usually `%s` for a string, `%d` for an integer, and
so forth as described in
[printf](https://www.man7.org/linux/man-pages/man1/printf.1.html)).
Use the templates as follows:
In your scripts or programs use the templates as follows:
- read a template
- replace the placeholders with your desired valid values
- send the event via `matrix-commander.py --event`

1
mc

@ -1 +0,0 @@
matrix-commander.py

@ -57,5 +57,5 @@ printf "$BAD_MSC3440_THREAD" "Thread reply $(date +%H:%M:%S)" \
# this will fail due to not being valid JSON
printf "$BAD_MSC2677_REACT_2" "$TARGET_EVENT" "❤" >event4.json
# These 4 test cases should ***FAIL***
matrix-commander.py --event event1.json event2.json event3.json event4.json -m "" $MC_OPTIONS
cat event2.json | matrix-commander.py --event event1.json - event3.json event4.json -m "" $MC_OPTIONS
rm event1.json event2.json event3.json event4.json # clean up

Loading…
Cancel
Save