Remove by state

  • 1. Removing
cornerstone remove --state=open,done,trash
  • open & done should move all opened and done items to trash
  • trash should delete all removed items completely from the disk
  • Confirmation
$ cornerstone remove --state=open,done,trash
Are you sure? [y/N]: 

Implement this feature using PHP readline extension.