Skip to content

entando/entando-cli

Repository files navigation

Entando CLI

Requirements:

Main requirement: BASH

the scripts are written in bash, however the activation/deactivation/auto-install scripts should be capable to run also in zsh

Windows Users

You can obtain a bash version for windows by installing either:

  • Git for windows
  • Minimalistic GNU for Windows (MinGW)

be sure the bash executable is in path

Other requirement

run the environment dependencies checker

ent check-env {mode}

Installation

On the fly:

curl https://<ent-url>/auto-install | ENTANDO_RELEASE={entando-release-tag} bash

or

bash <(curl "https://<ent-url>/entando/entando-cli/develop/auto-install") --release "{entando-release-tag}" 
[--cli-version "{entando-release-tag}"]

please note that the {entando-release-tag} is the tag of the Entando release under:

Manual download:

clone/download the project and then:

<ent-path>/auto-install [entando-release-tag]

Help

ent help

or

ent {command} --help

Activation

source <ent-path>/activate

from bash or a zsh variant

Directory structure:

s/       => support scripts and bins
w/       => work/status dir (gitignored)
dist/    => distribution files
opt/     => additional dependencies and packages installed by ent
bin/     => the entando cli main script
bin/mod  => the implementations of the entando cli commands