OsMike Connect: osmike-connect alias
This commit is contained in:
parent
405e44ae05
commit
ae2df0e112
@ -155,7 +155,7 @@ def build_request(spec, command, params, cred, allow_write=False):
|
||||
c = cmds[command]
|
||||
if is_write(c) and not allow_write:
|
||||
raise CallError('"%s" changes things at %s, and writing is switched off for this connection. Ask the person to '
|
||||
'allow writing in Mesh → Settings → Connections.' % (command, spec.get('name')))
|
||||
'allow writing in Mesh → Settings → OsMike Connect.' % (command, spec.get('name')))
|
||||
params = dict(params or {})
|
||||
declared = c.get('params', {})
|
||||
unknown = sorted(set(params) - set(declared))
|
||||
|
||||
3
osmike-connect
Executable file
3
osmike-connect
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
# OsMike Connect: same tool as osmike-int (both names work).
|
||||
exec "$(dirname "$0")/osmike-int" "$@"
|
||||
@ -9,7 +9,7 @@
|
||||
|
||||
The call runs on the OsMike server with the person's stored keys; you never see or need a key. Files (audio,
|
||||
images, PDFs) come back as a link you can give the person. Commands marked [writes] change things at the service
|
||||
and only work when the person has switched on "allow writing" for the connection in Mesh → Settings → Connections.
|
||||
and only work when the person has switched on "allow writing" for the connection in Mesh → Settings → OsMike Connect.
|
||||
If a service is not connected for you: the person connects it by pasting its keys in the chat; Mesh does the rest.
|
||||
|
||||
Builder only (osmike-integrations):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user