X-Git-Url: https://code.wpia.club/?p=motion.git;a=blobdiff_plain;f=README.md;h=3bbaeb5f91c15d8d5262a58b73eea315e19a42aa;hp=18df67fdae1672541b8e4705a7810fa2e90677bc;hb=7f7b44cb967ae9b99ddcbf3879c92d448570d49c;hpb=e59274f6a108ec57931014e8fcb1319c63fa1f2d diff --git a/README.md b/README.md index 18df67f..3bbaeb5 100644 --- a/README.md +++ b/README.md @@ -180,3 +180,38 @@ Add Publish JUnit test result report - test report XMLs ``` python_tests_xml/* ``` + +## Add user via command line + +For linux start with +``` +FLASK_APP=motion.py +``` + +For windows start with +``` +set FLASK_APP=motion.py + +``` + +To add a user use this command +``` +flask create-user "email address" "host" + +``` + +The application will return a message for success. + +To mask motions use this command +``` +flask motion_masking motionidentifier motionurl host" + +``` + +where: + +* motionidentifier - the motion identifier or left part of it which should be cleaned +* motionurl - an url to a motion that is the reason for the cleanup +* host - host where the motions are located + +The application will return a message for success.