This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# В общем, на хосте где есть третий питон и доступ к этой монге надо поставить пакеты pymongo и click для скрипта: | |
# | |
# pip3 install click pymongo -U | |
# | |
# Далее кинуть скрипт и проверить что он работает командой --help | |
# | |
# python3 pymongoinfo.py --help | |
# | |
# Принимает он только dsn к монге | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
kind: command | |
args: | |
tokens: | |
- joke | |
- fun | |
action: | |
kind: rhai | |
args: | |
script: | |
OlderNewer