Make tools:update-publication-status more user friendly
|Assignee:||Dan Gillean||% Done:|
|Target version:||Release 2.2.0|
|Google Code Legacy ID:||Tested version:|
Currently it requires the user to know the database term id to specify which publication status to use. It'd be much better if the user could input something like "draft" or "published".
#4 Updated by Dan Gillean about 7 years ago
new usage example, where you can input if you want it to be draft or published - updating a record with the slug "my-slug" to be published:
php symfony tools:update-publication-status published my-slug
If custom publication status terms have been added to Publication status taxonomy, these can be invoked in the CLI task as well. You cannot create new terms by calling the task, however.
#7 Updated by Dan Gillean about 7 years ago
- Status changed from QA/Review to Verified
- Requires documentation deleted (
Documentation updated in 2.2 here: https://github.com/artefactual/atom-docs/commit/67a7a328ae58c2165af5a3bedea92d19aca25e1d