Giter Site home page Giter Site logo

pronamic / wp-file-header Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 25 KB

A library that makes the management of WordPress file headers easier.

License: GNU General Public License v2.0

PHP 70.38% Hack 9.30% CSS 20.32%
file-header file-headers wordpress wordpress-deployment wordpress-development wordpress-plugin wordpress-theme wp-cli pronamic deploy

wp-file-header's Introduction

Pronamic WordPress File Header

Many WordPress plugins contain bash scripts with sed and awk commands to update WordPress file headers. Because sed and awk commands are difficult to read and can be error prone we have developed this library. This library makes it easy to read and/or edit WordPress file headers in for example plugin.php, style.css or readme.txt.

Table of contents

Getting Started

Installation

To start documenting your WordPress filters and actions, require Pronamic WordPress Documentor in Composer:

composer require pronamic/wp-file-header --dev

Command Line Usage

Examples

vendor/bin/pronamic-wp-file-header get Version plugin.php
vendor/bin/pronamic-wp-file-header get 'Stable tag' readme.txt
vendor/bin/pronamic-wp-file-header get Version style.css
vendor/bin/pronamic-wp-file-header set Version 1.0.0 plugin.php
vendor/bin/pronamic-wp-file-header set 'Stable tag' 4.3 readme.txt
vendor/bin/pronamic-wp-file-header set Version 1.3 style.css

Alternatives

Here is a list of alternatives that we found. However, none of these satisfied our requirements.

If you know other similar projects, feel free to edit this section!

Links

wp-file-header's People

Contributors

remcotolsma avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dexit

wp-file-header's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.