@vicoders/console

Vicoders CLI Utils

Usage no npm install needed!

<script type="module">
  import vicodersConsole from 'https://cdn.skypack.dev/@vicoders/console';
</script>

README

Vicoders CLI Handler

Getting Started

Fork this repo to start build new command

Steps

Add NPM dependency


/**
 * Add package dependency to package.json
 *
 * @param name
 * @param options
 * @param options.type NodeDependencyType
 * @param options.version string
 * @param options.overwrite boolean
 */
addDependency(name, options?)

Install NPM dependency

import packageIntall from './utility/package-install';

/**
 * Install NPM dependencies
 *
 * @param options NodePackageTaskOptions
 * @param options.directory
 * @param options.packageManager ["npm", "yarn"]
 */
packageIntall(options?)

Install PHP package via composer

import phpPackageIntall from './utility/php-package-install';

/**
 * Install NPM dependencies
 *
 * @param options NodePackageTaskOptions
 * @param options.directory
 * @param options.packageManager ["npm", "yarn"]
 */
phpPackageIntall(options?)