Examples
Common workflows with jinks-cli. See the command reference for every option.
Create a new application interactively
bash
jinks createCreate a new application with a specific abbreviation
bash
jinks create my-tei-appUpdate an application, checking every file
bash
jinks update my-tei-app --allUpdate and sync changed files to the local directory
bash
jinks update my-tei-app --syncOverwrite the app's config.json while updating
bash
jinks update my-tei-app --config ./config.json
# or pipe the configuration in via stdin
cat config.json | jinks update my-tei-app --configEdit an existing application
bash
# with interactive selection
jinks edit
# a specific application
jinks edit my-tei-appRun an action
bash
# with interactive action selection
jinks run my-tei-app
# a specific action
jinks run my-tei-app reindexWatch a directory and sync changes to the database
bash
# the current directory
jinks watch
# a specific application directory
jinks watch ./my-tei-appWork with profiles
bash
# create a new feature profile
jinks create-profile my-feature --out ./my-feature
# edit an existing profile
jinks edit-profile ./my-featureConnect to a different server
bash
jinks list --server http://my-server:8080/exist/apps/jinks