Commands like mage doc should allow a new kind of argument: a document list. Rather than acting on one document, they will affect multiple documents at the same time.
These document lists can be drawn from views.
mage doc in/0 tag rose_lalonde # add tag to single document
mage doc in/* tag rose_lalonde # add tag to all documents in view
Or, supplied as a comma-separated list. (Investigate whether this is possible given our command parser.)
mage doc in/0,in/1,in/2 tag rose_lalonde
Or, supplied as a slice of a view. (This is the least necessary.)
Commands like
mage doc
should allow a new kind of argument: a document list. Rather than acting on one document, they will affect multiple documents at the same time.These document lists can be drawn from views.
Or, supplied as a comma-separated list. (Investigate whether this is possible given our command parser.)
Or, supplied as a slice of a view. (This is the least necessary.)