diff options
author | Adam Tauber <asciimoo@gmail.com> | 2016-01-02 16:04:32 +0100 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2016-01-10 19:23:10 +0100 |
commit | 1e4f0bedc5ed70359c6a75ae93bf51eba8e7145e (patch) | |
tree | 47f2f2d7d180249fdf4be74e1cd126dab9362be5 /manage.sh | |
parent | 5c073fdd8329fc3094f78d1730586e3e7ac16c81 (diff) | |
download | searxng-1e4f0bedc5ed70359c6a75ae93bf51eba8e7145e.tar.gz searxng-1e4f0bedc5ed70359c6a75ae93bf51eba8e7145e.zip |
[doc] command descriptions
Diffstat (limited to 'manage.sh')
-rwxr-xr-x | manage.sh | 26 |
1 files changed, 25 insertions, 1 deletions
@@ -66,4 +66,28 @@ locales() { pybabel compile -d "$SEARX_DIR/translations" } -$ACTION +help() { + [ -z "$1" ] || echo "Error: $1\n" + echo "Searx manage.sh help + +Commands +======== + grunt_build - Build js files + help - This text + locales - Compile locales + pep8_check - Pep8 validation + py_test_coverage - Unit test coverage + robot_tests - Run selenium tests + styles - Build less files + tests - Run all python tests (pep8, unit, robot) + unit_tests - Run unit tests + update_dev_packages - Check & update development only dependency changes + update_packages - Check & update dependency changes +" +} + +if type $ACTION 1>/dev/null; then + $ACTION +else + help "action not found" +fi |