New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

addoptify/vardef-modifier

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

addoptify/vardef-modifier

Source
Packagist
Version
3.0.2
Version published
Total downloads
5.1K
Maintainers
1
Created
Source

vardef-modifier

About

  • Author: Emil Kilhage
  • Date Created: 2012-04-24
  • License: MIT

See vardefs.example.yml for some syntax references.

Installation

Add the dependency to composer.json:

{
    "require": {
        "dri-nordic/vardef-modifier": "~2.0@dev"
    },
    "repositories": [
        {
            "type": "composer",
            "url":  "https://packages.dricrm.com/"
        }
    ]
}

And run:

composer install

Composer will install the library to your project's vendor/dri-nordic/vardef-modifier directory.

Usage

Run the help command for full documentation about available commands:

bin/vardef-modifier help

install

Run the help command as the command name as the first parameter for full documentation about the command:

bin/vardef-modifier help install

Install in custom module

bin/vardef-modifier install -m DRI_Invoices -c

Install in core module

bin/vardef-modifier install -m Accounts

dump

normal usage

bin/vardef-modifier dump DRI_Workflows modules/DRI_Workflows/vardefs.yml dri-customer-journey

use the dump command from outside of Sugar

bin/vardef-modifier dump -T ~/www/sugarcrm-7.6.0.0 DRI_Workflows modules/DRI_Workflows/vardefs.yml dri-customer-journey

migrate

NOT FINISHED

Migrates the target directory to the current version of the library

List files that needs to be migrated

bin/vardef-modifier migrate:find

Attempt to automatically migrate files

bin/vardef-modifier migrate:write

Attempt to automatically migrate files

bin/vardef-modifier migrate:write --force

setup

NOT FINISHED

Installs the library in the target directory

List files that needs to be migrated

bin/vardef-modifier setup

FAQs

Package last updated on 09 Oct 2019

Related posts