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} ;; |
certauth) validate_auth_certificate ${GLOBAL_ARGV[*]:1} ;; |
107 |
|
register) valid_session && validate_client ${GLOBAL_ARGV[*]:1} ;; |
108 |
provide) valid_session && print_provide ;; |
provide) valid_session && print_provide ;; |
109 |
require) valid_session && verify_requirements ;; |
require) valid_session && verify_requirements ;; |
110 |
reload) valid_session && mecho "reloading client classes ..." && load_classes client ;; |
reload) valid_session && mecho "reloading client classes ..." && load_classes client ;; |
128 |
else |
else |
129 |
mecho "You must authenticate yourself first!" |
mecho "You must authenticate yourself first!" |
130 |
mecho " auth [username] [password]" |
mecho " auth [username] [password]" |
131 |
|
mecho "or" |
132 |
|
mecho " certauth [certificate fingerprint]" |
133 |
fi |
fi |
134 |
;; |
;; |
135 |
|
|