The Mattermost ETL is a tool to transform an export file from a given set of providers into a Mattermost compatible export file.
To install the project in your $GOPATH, just run:
go install github.com/mattermost/mmetl@latestThe tool is self documented, so you can run it with with the --help
flag and it will print the available subcommands and the options for
the current command:
$ mmetl --helpYou can also check the CLI generated documentation under mmetl.
The CLI documentation in docs/cli/ is automatically generated from the Cobra command definitions.
To regenerate the documentation after making changes to commands:
make docsTo verify documentation is up-to-date (useful before committing):
make docs-checkNote: The CI pipeline will automatically check if documentation is up-to-date on pull requests. If the check fails, run make docs and commit the updated files.