(gopts,command_data,opts)
| 186 | |
| 187 | |
| 188 | def action_call(gopts,command_data,opts): |
| 189 | auth = get_auth(command_data,opts) |
| 190 | if opts.endpoint.startswith("/js"): |
| 191 | call_js(gopts,command_data,opts,auth) |
| 192 | else: |
| 193 | token = get_token(gopts,command_data,opts,auth) |
| 194 | call_oauth(gopts,command_data,opts,token) |
| 195 | |
| 196 | def cmd_api(gopts,command_data, command_args): |
| 197 | actions = { |
nothing calls this directly
no test coverage detected