diff --git a/coder_upgrade/coder_upgrade.drush.inc b/coder_upgrade/coder_upgrade.drush.inc
new file mode 100644
index 0000000..4eb113b
--- /dev/null
+++ b/coder_upgrade/coder_upgrade.drush.inc
@@ -0,0 +1,58 @@
+<?php
+
+/**
+ * Implements hook_drush_help().
+ */
+function coder_upgrade_drush_help($command) {
+  switch ($command) {
+    case 'drush:coder-upgrade':
+      return dt('Upgrade a module from drupal 6 to 7');
+  }
+}
+
+/**
+ * Implements hook_drush_command().
+ */
+function coder_upgrade_drush_command() {
+  $items = array();
+  $items['coder-upgrade'] = array(
+    'description' => dt('Upgrade a module via automated porting methods'),
+    'arguments'   => array(
+      'arg1'    => dt('token'),
+    ),
+    'examples' => array(
+      'Standard example' => 'drush coder-upgrade token',
+      'Longer example' => 'drush my-command token spaces og',
+    ),
+    'aliases' => array('cup'),
+  );
+  return $items;
+}
+
+/**
+ * Callback for drush upgrade function.
+ */
+function drush_coder_upgrade() {
+  // load generic list of arguments
+  $items = func_get_args();
+  // verify we have at least 1 value
+  if (count($items) > 0) {
+    // load the conversion form include
+    module_load_include('inc', 'coder_upgrade', 'includes/conversion');
+    $form_state = array();
+    $form_state['values']['extensions']['list']['module'] =  'module';
+    $form_state['values']['extensions']['list']['inc'] =  'inc';
+    $form_state['values']['extensions']['list']['info'] =  'info';
+    $form_state['values']['extensions']['list']['install'] =  'install';
+    $form_state['values']['upgrades']['list']['coder_upgrade'] =  'coder_upgrade';
+    // allow for multiple items to be converted at once
+    foreach ($items as $name) {
+      $form_state['values']['directories']['list'][$name] =  $name;
+    }
+    // submit form to process code upgrade
+    drupal_form_submit('coder_upgrade_conversions_form', $form_state);
+  }
+  else {
+    drush_log('coder-upgrade requires arugments, run drush help coder-upgrade for details.', 'error');  
+  }
+}
\ No newline at end of file
