I just created a CLI Tool that we can use for admin tasks like migrating categories.
https://github.com/blake/discourse_cli
This is just the basic structure for the CLI tool, it doesn’t haven any features yet other than displaying a list of categories.