Browse files

improve error handling for create:comments, create:roles, create:user…

…s, create:terms, create:vocabularies, create:nodes (#175)
  • Loading branch information...
LOBsTerr authored and jmolivas committed Mar 6, 2018
1 parent a294111 commit bade7d403d4fff971948bfccf9f6c0a92f086224
@@ -28,6 +28,7 @@ messages:
created: 'Created Time'
invalid-content-types: 'Content types "%s" are invalid'
created-comments: 'Created "%s" comments successfully'
error: 'Error creating comments: "%s"'
- description: 'Provide the node id where the comments will be generated.'
execution: drupal create:comments node-id
@@ -26,6 +26,7 @@ messages:
created: 'Created Time'
invalid-content-types: 'Content types "%s" are invalid'
created-nodes: 'Created "%s" nodes successfully'
error: 'Error creating nodes: "%s"'
- description: 'Provide the content type name.'
execution: drupal create:nodes content-name
@@ -9,7 +9,7 @@ messages:
role-id: 'Role Id'
role-name: 'Rolename'
created-roles: 'Created "%s" roles successfully'
error-created-role: 'Created "%s" role unsuccessfully'
error: 'Error creating roles: "%s"'
- description: 'Provide roles.'
execution: drupal create:roles
@@ -16,6 +16,7 @@ messages:
name: 'Name'
invalid-vocabularies: 'Vocabulary(s) "%s" are invalid'
created-terms: 'Created "%s" terms successfully'
error: 'Error creating terms: "%s"'
- description: 'Provide the vocabulary term name.'
execution: drupal create:terms vocabulary
@@ -25,6 +25,7 @@ messages:
username: 'Username'
created: 'Created Time'
created-users: 'Created "%s" users successfully'
error: 'Error creating users: "%s"'
- description: 'Provide the user role.'
execution: drupal create:users role

0 comments on commit bade7d4

Please sign in to comment.