@combuilder/combuilder
A CLI utility for generating Joomla components
Last updated 2 months ago by travisrisner .
LGPL-3.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @combuilder/combuilder 
SYNC missed versions from official npm registry.

combuilder

A CLI utility for generating Joomla components

oclif Version License Build Status

Basic Usage

# Install via NPM
$ npm install -g @combuilder/combuilder
# Basic component creation. This component provides to the ablility to
# auto-fill component metadata and file level block comments
$ combuilder create COMPONENTNAME VIEWNAME -g -u http://yoursite.com
> com_COMPONENTNAME successfully created
$ combuilder --help [COMMAND]
> USAGE
  $ combuilder COMMAND

Commands

There is currently only a create command, for generating a basic Joomla component. More will be added in the future.

combuilder create [name] [view]

The create command builds a Joomla component with the name provided and a list and item view based on the view name provided. Most options are used to manipulate component metadata, such as component author, email, URL, etc. The -g option pulls author name and email from your global git configuration. If any of these options aren't provided they are simply left blank.

The -t option is used to specify a template to use. If no template option is provided, the default template is used.

creates a Joomla component based on options provided

USAGE
  $ combuilder create NAME VIEW

ARGUMENTS
  NAME  name of the component you wish to create
  VIEW  name of first view (item and list) to create

OPTIONS
  -a, --author=author          author name for component metadata
  -c, --copyright              the copyright to use in the docblock and xml, defaults to current year and author if not specified
  -d, --createDate=createDate  created date for component metadata, current date is used if this option isn't present
  -e, --email=email            email address for component metadata
  -g, --useGit                 pull meta information from git configuration
  -h, --help                   show CLI help
  -u, --url=url                url for component metadata
  -t, --template=default       the template to use, default is used if none specified

EXAMPLE
  $ combuilder create NAME VIEW

combuilder help [COMMAND]

Displays a basic overview of the command requested.

Current Tags

  • 0.2.2                                ...           latest (2 months ago)

11 Versions

  • 0.2.2                                ...           2 months ago
  • 0.2.1                                ...           3 months ago
  • 0.2.0                                ...           5 months ago
  • 0.1.1                                ...           5 months ago
  • 0.1.0                                ...           6 months ago
  • 0.0.5                                ...           6 months ago
  • 0.0.4                                ...           6 months ago
  • 0.0.3                                ...           6 months ago
  • 0.0.2                                ...           6 months ago
  • 0.0.1                                ...           6 months ago
  • 0.0.0                                ...           6 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 11
Dependencies (9)
Dev Dependencies (13)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |