All Projects → celonis → content-cli

celonis / content-cli

Licence: MIT license
Content CLI is a command line interface tool used to manage content in Celonis EMS

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to content-cli

Pdfbox
Mirror of Apache PDFBox
Stars: ✭ 1,384 (+3448.72%)
Mutual labels:  content
Php Readability
A fork of https://bitbucket.org/fivefilters/php-readability
Stars: ✭ 127 (+225.64%)
Mutual labels:  content
Contentify
Contentify is an esports CMS based on the PHP framework Laravel
Stars: ✭ 189 (+384.62%)
Mutual labels:  content
Stanbol
Mirror of Apache Stanbol (incubating)
Stars: ✭ 114 (+192.31%)
Mutual labels:  content
Directus
Open-Source Data Platform 🐰 — Directus wraps any SQL database with a real-time GraphQL+REST API and an intuitive app for non-technical users.
Stars: ✭ 13,190 (+33720.51%)
Mutual labels:  content
Scobot
SCORM API for Content. JavaScript library, QUnit tests and examples.
Stars: ✭ 128 (+228.21%)
Mutual labels:  content
Patreondownloader
Powerful tool for downloading content posted by creators on patreon.com. Supports content hosted on patreon itself as well as external sites (additional plugins might be required).
Stars: ✭ 89 (+128.21%)
Mutual labels:  content
content
Content management system for Yii2
Stars: ✭ 54 (+38.46%)
Mutual labels:  content
Moviecontentfilter
Watch movies with the freedom (not) to filter
Stars: ✭ 126 (+223.08%)
Mutual labels:  content
Grav
Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony
Stars: ✭ 13,067 (+33405.13%)
Mutual labels:  content
Moodle Downloader 2
A Moodle downloader that downloads course content fast from Moodle (eg. lecture pdfs)
Stars: ✭ 118 (+202.56%)
Mutual labels:  content
Cms
MaxSite CMS
Stars: ✭ 123 (+215.38%)
Mutual labels:  content
Openolat
Learning Management System OpenOlat
Stars: ✭ 135 (+246.15%)
Mutual labels:  content
Next
Directus is a real-time API and App dashboard for managing SQL database content. 🐰
Stars: ✭ 111 (+184.62%)
Mutual labels:  content
Unite Cms
Really flexible headless CMS, built on top of Symfony and GraphQL.
Stars: ✭ 242 (+520.51%)
Mutual labels:  content
Allura
Mirror of Apache Allura
Stars: ✭ 91 (+133.33%)
Mutual labels:  content
Couchdb Documentation
Apache CouchDB Documentation
Stars: ✭ 128 (+228.21%)
Mutual labels:  content
contenta docker
No description or website provided.
Stars: ✭ 53 (+35.9%)
Mutual labels:  content
django-addendum
📜 Easily edit arbitrary text snippets on a site without a full-fledged CMS or issuing another site release. Like a mini-CMS for every site.
Stars: ✭ 71 (+82.05%)
Mutual labels:  content
Spring Content
Cloud-Native Storage and Enterprise Content Services (ECMS) for Spring
Stars: ✭ 151 (+287.18%)
Mutual labels:  content

Content CLI

Content CLI is a tool to help manage content in Celonis EMS. It provides various commands to help extract content like analyses, packages, assets and others from your Celonis EMS team to your local machine, which you can then push to other teams. This process can be easily achieved by creating profiles for your different teams and execute commands in a profile's context.

Table of Contents

  1. Getting Started
  2. About the Project
  3. Building the Project
  4. Release Process
  5. Contributing
  6. License

Getting Started

To get started with using Content CLI, you will need to have node installed in your local machine. Please download the LTS version that is recommended for most users from the node web page here. After installing node you can run the following command in the terminal (cmd for Windows users) to install Content CLI. Note that the same command is used for updating Content CLI too.

npm install -g @celonis/content-cli

You can verify that the installation was successful by running the following command in the terminal, which prints the installed version of Content CLI:

content-cli -V

To get started with using Content CLI, you can follow some examples to manage content that are available as part of our pycelonis examples library here.

About the Project

Content CLI has three core functionalities:

Profile: The CLI connects to the EMS environments through profiles. For each of the commands you can specify which profile you want to use. This makes it powerful in the sense that you can pull something from let's say team1.cluser1 and push it directly to team2.cluster2 easily. You can create a profile using the following command:

content-cli profile create

Pull: This feature allows you to download content from the EMS to your local machine. Let's take Studio package as an example. These can be exported in the EMS as ZIP files that contain all package assets. By using the following command using the package key and profile you have created, you will pull the ZIP file.

content-cli pull package -p <profile-name> --key <package-key>

Example, if you want to pull a package with key "interesting-package" from your profile "my-dev-profile", the command will look like this:

content-cli pull package -p my-dev-profile --key interesting-package

Push: This feature allows you to push a content file to a team in the EMS. To continue the last example, you can use the following command to push he previously pulled package in another team.

content-cli push package -p <profile-name> --spaceKey <space-key> -f <file-to-push.zip>

Example, if you want to push a package from zipped file "interesting-package.zip" to you team of profile "my-dev-profile" with the space "my-cool-space", the command will look like this:

content-cli push package -p my-dev-profile --spaceKey my-cool-space -f interesting-package.zip

A more comprehensive list of Content CLI capabilities can be found on the following documentation.

You can still explore the full capabilities of Content CLI and the list of options for the different commands by using the -h option in your command.

content-cli -h
content-cli pull package -h

Building the Project

This tool is tightly connected with the Celonis EMS and all capabilities require to have access to a Celonis EMS Team. After cloning the project, the next step is to install the project dependencies. We use yarn as our package manager, so running yarn install on the project root folder should install all the necessary dependencies. After installing the project dependencies, you can run yarn build to build the project artifact. To use the built artifact, you can run node content-cli.js in the generated dist folder.

Release Process

We manage releases using Github Actions with the Build and Publish Workflow. This action runs after merging to the master branch, which builds the project and publishes the package to the Github registry. You can install a published version of the Content CLI using the following command:

npm i -g @celonis/content-cli

Contributing

We encourage public contributions! Please review CONTRIBUTING.md for details on our code of conduct and development process.

License

Copyright (c) 2021 Celonis SE

This project is licensed under the MIT License - see LICENSE file for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].