on master help sign in
[doc] command descriptions
commit1e4f0bedc5ed70359c6a75ae93bf51eba8e7145e authorAdam Tauber <asciimoo@gmail.com> dateSat 2 Jan 2016, 16:04 (11 years ago) parent5c073fd
1 file changed+25−1
manage.sh+25−1
manage.sh+25−1
@@ -66,4 +66,28 @@ locales() {
6666 pybabel compile -d "$SEARX_DIR/translations"
6767}
6868
69−$ACTION
69+help() {
70+ [ -z "$1" ] || echo "Error: $1\n"
71+ echo "Searx manage.sh help
72+
73+Commands
74+========
75+ grunt_build - Build js files
76+ help - This text
77+ locales - Compile locales
78+ pep8_check - Pep8 validation
79+ py_test_coverage - Unit test coverage
80+ robot_tests - Run selenium tests
81+ styles - Build less files
82+ tests - Run all python tests (pep8, unit, robot)
83+ unit_tests - Run unit tests
84+ update_dev_packages - Check & update development only dependency changes
85+ update_packages - Check & update dependency changes
86+"
87+}
88+
89+if type $ACTION 1>/dev/null; then
90+ $ACTION
91+else
92+ help "action not found"
93+fi