Would love to see this work as a stand alone drush command. I'll start work on it, but wanted to post to see if anyone else has done or would have interest in it.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | checklistapi-drush-command-2127581-3.patch | 2.57 KB | itarato |
Would love to see this work as a stand alone drush command. I'll start work on it, but wanted to post to see if anyone else has done or would have interest in it.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | checklistapi-drush-command-2127581-3.patch | 2.57 KB | itarato |
Comments
Comment #1
traviscarden commentedThanks for the interest, @codi. I've actually been toying with the idea of Drush commands myself. Let's add them to Checklist API module so that all implementing modules can benefit from it. I'm the maintainer of that project, so feel free to reach out for direction as you go. I'm imagining
drush checklistapi-listanddrush checklistapi-show <checklist-id>commands to begin with. Is that in line with what you're thinking?Comment #2
ergonlogicIt'd be neat if we could also update task completion via Drush. Something like:
drush checklistapi-update <checklist-id> --complete=task2,task4,task7Comment #3
itarato commentedHere you are an initial innocent drush file:
- drush checklistapi-list: listing all available checklist
- drush checklistapi-status ID: show the status of a requested checklist
Comment #4
traviscarden commentedThanks, @itarato! I'll take a look at this as soon as I have a minute.
Comment #6
traviscarden commentedI added a
checklistapi-listcommand for starters. I refactored it to correspond to the Checklists report. It usesdrush_format_table(), which is only available in Drush 6 or later. It should be in the dev build in a few hours. Feedback welcome.Comment #7
traviscarden commentedComment #9
traviscarden commentedI've added a
capi-infocommand now. It should be in the dev build in a few hours. If no one reports any problems with this, I'll roll a release with it soon. Then we'll want to forward port this to Drupal 8.Comment #10
traviscarden commentedVersion 7.x-1.2 has been released with the new Drush commands. Feedback still welcome. This issue will now focus on forward porting the commands to Drupal 8.
Comment #11
traviscarden commentedFixed: 45c7e8a.