2017 © Pedro Peláez
 

library neon-configurator

Instante NEON configurator is a command-line utility to update NEON files.

image

instante/neon-configurator

Instante NEON configurator is a command-line utility to update NEON files.

  • Tuesday, March 14, 2017
  • by amik
  • Repository
  • 1 Watchers
  • 0 Stars
  • 359 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

Instante NEON configurator

Build Status Downloads this Month Latest stable, (*1)

Makes updates to neon configuration files super easy., (*2)

Includes integration as a Kdyby\Console command or running through simple php file included in composer bin., (*3)

Usage:

<project root>$ vendor/bin/update-neon path/to/neon-file.neon path.to.key value
<project root>$ vendor/bin/update-neon app/config/local.neon parameters.webmasterEmail john@doe.com

Field types are parsed and written back as NEON values. Note that shell consumes quotes, so you have to backslash them if you want to actually insert a string. like in this example:, (*4)

$ vendor/bin/update-neon demo.neon foo yes
$ vendor/bin/update-neon demo.neon bar "yes"
$ vendor/bin/update-neon demo.neon baz \"yes\"

results in, (*5)

foo: true
bar: true
baz: "yes"

Requirements

  • PHP 5.6 or higher
  • NEON 2.4

Installation

The best way to install Instante neon-configurator is using Composer:, (*6)

$ composer require instante/neon-configurator

Caveats

  • The utility is currently unable to preserve comments and drops all of them.

The Versions

14/03 2017

dev-master

9999999-dev

Instante NEON configurator is a command-line utility to update NEON files.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

nette instante