About
Small utility for uploading/downloading content to/from running AEM instance.
It's intended to be used as an external tool for IntelliJ IDEA to make content synchronization easier.
```bash ⯠je je 0.1.0 Jcr Exchange - easy download and upload files to and from JCR
USAGE:
je [FLAGS]
FLAGS: -d, --debug If enabled, deployed to AEM packages are left intact (are not deleted) to allow investigation -h, --help Prints help information -V, --version Prints version information -v, --verbose Enables logs: -v - enables INFO log level -vv - enables DEBUG log level
SUBCOMMANDS: get Downloads content to local file system help Prints this message or the help of the given subcommand(s) init Initializes configuration file put Uploads content to AEM instance ```
Installation
je
archive for your OSje
executable into your PATH variablebash
cargo install je
Configuration
Configuration file is not required. Without it, je
will use default configuration.
However, you can still initialize config and change it. The default configuration is also the initial
one:
``` ⯠je init ⯠cat .je ignore_properties = []
[instance] addr = "http://localhost:4502" user = "admin" pass = "admin" ```
ignore_properties
- tell je
which properties of .content.xml
should be removed after
downloading the content
addr
- address of the instance, including port if domain is not available
user
- user used to authenticate to AEM instance
pass
- password used to authenticate to AEM instance
je
commands:Settings -> Tools -> External Tools
.+
sign.Similarly add and configure je put
command:
je
in PATH, you can set full path in Program
inputArguments
input:
-vv
- sets verbose level, -vv
means DEBUG log level, -v
means INFO log level, you can omit
this option if you don't need logs-d
to set debug mode in which temporary packages uploaded to AEM won't be deleted
to allow validation during debuggingje
in command line$FilePath$
- IntelliJ variable which will be substituted during command execution, its absolute
path to a file on which command is executedWorking directory
input:
$ProjectFileDir$
allows running je
from the project rootje
will try to read config file from the set working directoryLicense
This project is licensed under either of
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
See CONTRIBUTING.md for hints on how to contribute to je
.