#!/usr/bin/env ruby require File.expand_path("../../lib/commonmeta", __FILE__) if (ARGV & %w(--version -v help --help encode decode encode_id decode_id json_feed_updated json_feed_unregistered json_feed_by_blog)).empty? Commonmeta::CLI.start(ARGV.dup.unshift("convert")) else Commonmeta::CLI.start end