Add export sub command.