Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update publish docs #170

Merged
merged 1 commit into from
Nov 21, 2015
Merged

Update publish docs #170

merged 1 commit into from
Nov 21, 2015

Conversation

kennethlimcp
Copy link
Contributor

  • mention about public/private flags
  • updated the syntax example

Signed-off-by: Kenneth Lim kennethlimcp@gmail.com

@kennethlimcp
Copy link
Contributor Author

@brycekahle there's some weirdness with the tabs as usual but i hope to set it up properly on my Atom IDE to prevent this the next time


Allows a message to be published via the CLI without using a physical Particle device. This is particularly useful when you are testing your firmware against an actual `published` event.

There is a `--private` flag that allows you to `publish` events to devices subscribing to events with the `MY_DEVICES` option. You can also explicitly use the `--public` flag though that is the default setting.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The --public flag does not exist, so I don't think we should mention it.

@kennethlimcp
Copy link
Contributor Author

Oh i thought i had that implemented after a discussion with Mat. Will update the docs.

@kennethlimcp
Copy link
Contributor Author

@brycekahle updated the docs nows

- mention about public/private flags
- updated the syntax example

Signed-off-by: Kenneth Lim <kennethlimcp@gmail.com>
@brycekahle
Copy link
Contributor

👍

brycekahle added a commit that referenced this pull request Nov 21, 2015
@brycekahle brycekahle merged commit 4f8daec into particle-iot:master Nov 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants