Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Latest commit

 

History

History
33 lines (29 loc) · 783 Bytes

create-comments.md

File metadata and controls

33 lines (29 loc) · 783 Bytes

create:comments

Create dummy comments for your Drupal 8 application.

Usage:

drupal create:comments [arguments] [options]
crc

Available options

Option Details
--limit How many comments would you like to create
--title-words Maximum number of words in comment titles
--time-range How far back in time should the comments be dated

Available arguments

Argument Details
node-id Node ID where the comments will be created

Examples

  • Provide the node id where the comments will be generated.
drupal create:comments  node-id
  • Provide number of comments to generate, max title words and time range.
drupal create:comments  node-id \
  --limit="2" \
  --title-words="5" \
  --time-range="1"