Create dummy comments for your Drupal 8 application.


drupal create:comments [arguments] [options]

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


  • 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" \