AEM Vault wrapper for node
CLI:
npm install -g aem-cellar
Module:
npm install --save-dev aem-cellar
cellar pull -h
cellar pull --source content/example --dest .vaulted-content
import cellar from 'aem-cellar';
cellar.pull({
source: 'content/example',
dest: '.vaulted-content',
host: 'localhost',
port: '4502',
user: 'admin',
pass: 'admin'
});
Type: string
Directory path on AEM/CRX instance.
Type: string
Destination path on local filesystem.
Type: string
Default: localhost
hostname to running AEM instance.
Type: number
Default: 4502
Port for running AEM instance.
Type: string
Default: admin
Username for authentication.
Type: string
Default: admin
Password for authentication.
cellar push -h
cellar push --source content/example --dest /
import cellar from 'aem-cellar';
cellar.push({
source: 'content/example',
dest: '/',
host: 'localhost',
port: '4502',
user: 'admin',
pass: 'admin'
});
Type: string
Directory path of local environment
Type: string
Default: /
Destination path to push to, usually just /
Type: string
Default: localhost
hostname to running AEM instance.
Type: number
Default: 4502
Port for running AEM instance.
Type: string
Default: admin
Username for authentication.
Type: string
Default: admin
Password for authentication.
cellar clean -h
cellar clean example-folder/
import cellar from 'aem-cellar';
cellar.clean('./example-folder');
This is for cleaning up a local path and removing the folder. Basically a wrapper around rm -rf