Skip to content
New issue

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

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

Already on GitHub? # to your account

CLI: Add support for merge subcommand #418

Merged
merged 1 commit into from
Jun 9, 2022
Merged

Conversation

wkalt
Copy link
Contributor

@wkalt wkalt commented Jun 9, 2022

Adds a merge subcommand that merges multiple mcap files into one.
Examples of usage:

mcap merge file1.mcap file2.mcap -o output.mcap
mcap merge *.mcap -o output.mcap
mcap merge *.mcap | mcap cat --json

@wkalt
Copy link
Contributor Author

wkalt commented Jun 9, 2022

Separated out from the PR with support for split.

Adds a merge subcommand that merges multiple mcap files into one.
Examples of usage:

    mcap merge file1.mcap file2.mcap -o output.mcap
    mcap merge *.mcap -o output.mcap
    mcap merge *.mcap | mcap cat --json
@wkalt wkalt force-pushed the wyatt/go/cli/merge-support branch from 5ed52bf to d224154 Compare June 9, 2022 20:58
@@ -1,3 +1,5 @@
SHELL := /bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

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

no love for the zsh users eh :D

@wkalt wkalt merged commit 2079142 into main Jun 9, 2022
@wkalt wkalt deleted the wyatt/go/cli/merge-support branch June 9, 2022 21:19
@wkalt wkalt mentioned this pull request Jun 22, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants