# Introduction 
This package is the first attempt to provide a full solution for creating joomla packages ready for installation. 
It does not analyses the package xml file in detail other than the extensions needed to be created (under the files attribute).

# Getting Started
1. Initialize a node js project. ```npm init```
2. Install the solution from the NPM manager anywhere in your Joomla Package project. 
3. Create an ```index.js``` file and declare on top ```const package = require('joomla-packager')```
4. Execute the packager within ```index.js``` with ```package()```
5. Execute ```index.js``` with:

```
node index.js --file=pkg_[package-name].xml --indir=[package-folder] --action=[clean | build | rebuild]
```
Change the names in square bracktes accordingly. 
__IMPORTANT__: the xml package file must exists in the package folder

