103 |
get) run_class ;; |
get) run_class ;; |
104 |
set) run_class ;; |
set) run_class ;; |
105 |
auth) validate_auth ${GLOBAL_ARGV[*]:1} ;; |
auth) validate_auth ${GLOBAL_ARGV[*]:1} ;; |
106 |
|
certauth) validate_auth_certificate ${GLOBAL_ARGV[*]:1} ;; |
107 |
provide) valid_session && print_provide ;; |
provide) valid_session && print_provide ;; |
108 |
require) valid_session && verify_requirements ;; |
require) valid_session && verify_requirements ;; |
109 |
reload) valid_session && mecho "reloading client classes ..." && load_classes client ;; |
reload) valid_session && mecho "reloading client classes ..." && load_classes client ;; |
127 |
else |
else |
128 |
mecho "You must authenticate yourself first!" |
mecho "You must authenticate yourself first!" |
129 |
mecho " auth [username] [password]" |
mecho " auth [username] [password]" |
130 |
|
mecho "or" |
131 |
|
mecho " certauth [certificate fingerprint]" |
132 |
fi |
fi |
133 |
;; |
;; |
134 |
|
|