Skip to content

wp-now: support yml for blueprints #313

Description

@lgersman

Providing (additional) yml support for blueprint definition would greatly improve the usability of blueprints.

yml supports:

  • comments for explaining why a blueprint step is required (or what it does) and what it does

  • multiline values (for writeFile)

{
  "step": "writeFile",
  "path": "/wordpress/wp-content/mu-plugins/rewrite.php",
  "data": "<?php /* Use pretty permalinks */ add_action( 'after_setup_theme', function() { global $wp_rewrite; $wp_rewrite->set_permalink_structure('/%postname%/'); $wp_rewrite->flush_rules(); } 
  );"
}

This multiline data could be written in yml in true multiline fashion which is much more readable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions