From e4619ae143a7b8674981a4d5b5a534e002814f17 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 13 Oct 2020 23:47:40 +0200 Subject: [PATCH] Destroyed Shell interface (markdown) --- Shell-interface.md | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 Shell-interface.md diff --git a/Shell-interface.md b/Shell-interface.md deleted file mode 100644 index 3e384c7..0000000 --- a/Shell-interface.md +++ /dev/null @@ -1,42 +0,0 @@ -`platypush` installs `pusher`, a command-line tool to send PushBullet messages to the connected devices in the format used by platypush. - -Some examples: - -```shell -pusher --target laptop --action shell.exec --cmd "scp /home/user/photos/*.jpg backup_host:/mnt/hd/photos" -pusher --target raspberrypi --action music.mpd.play -``` - -The logic to execute is specified by the `--action` option, whose format is `package_name.method_name` (with method_name part of the package main class). - -# Sample requests through Pusher - -* `platypush.plugins.shell`: - -```shell -pusher --target laptop --action shell.exec --cmd "scp /home/user/photos/*.jpg backup_host:/mnt/hd/photos" -``` - -* `platypush.plugins.music.mpd`: - -```shell -pusher --target raspberry --action music.mpd.play -``` - -* `platypush.plugins.switch.wemo`: - -```shell -pusher --target raspberry --action switch.wemo.on -``` - -* `platypush.plugins.light.hue`: - -```shell -pusher --target raspberry --action light.hue.scene --name "Sunset" --group "Living Room" -``` - -* `procedure`: - -```shell -pusher --target raspberry --action procedure.at_home -``` \ No newline at end of file