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

feat(cli):support input formatted messages to publish #1333

Merged
merged 1 commit into from Jun 28, 2023
Merged

Conversation

ni00
Copy link
Contributor

@ni00 ni00 commented Jun 28, 2023

PR Checklist

If you have any questions, you can refer to the Contributing Guide

What is the current behavior?

Issue Number

#1328

What is the new behavior?

feat(cli):support input formatted messages to publish

Does this PR introduce a breaking change?

  • Yes
  • No

Specific Instructions

mqttx pub

.option('-f, --format <TYPE>', 'the format type of the input message, support base64, json, hex', parseFormat)

Other information

cli/src/index.ts Outdated Show resolved Hide resolved
@ni00 ni00 force-pushed the new branch 2 times, most recently from 3aa1758 to 9da5b9a Compare June 28, 2023 07:34
@Red-Asuka Red-Asuka merged commit 73aab61 into emqx:main Jun 28, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants