npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@digital-ai/plugin-scaffolder-backend-module-digitalai-xlcli

v0.0.1-alpha.0

Published

xlcli custom action for @backstage/plugin-scaffolder-backend

Downloads

12

Readme

@digital-ai/plugin-scaffolder-backend-module-digitalai-xlcli

🚀 Digital.ai XL CLI Apply Actions

This Backstage software template actions enables applying configuration files to Digital.ai XL Deploy or XL Release using the xl apply command via the XL CLI.


🧩 What It Does

Based on user input, the template:

  • Determines whether to use XL Deploy or XL Release
  • Applies the specified configuration YAML file using the xl CLI
  • Uses credentials and host information from backstage app-config.yaml
  • Outputs the target environment URL after command success.

⚙️ How It Works

This template uses a custom Backstage scaffolder action called xlcli:apply. The action:

  1. Locates the xl CLI binary
  2. Reads configuration values (host, username, password) using readValues
  3. Constructs the xl apply command dynamically
  4. Executes it and reports the result via Backstage scaffolder outputs

📝 Input Parameters

| Name | Description | Required | |------------|-------------------------------------------------------|----------| | product | Target product: xl-deploy or xl-release | ✅ Yes | | filePath | Path to the configuration YAML file to be applied | ✅ Yes |

Installation

From your Backstage instance root folder:

yarn add --cwd packages/backend @digital-ai/plugin-scaffolder-backend-module-digitalai-xlcli

This will download the right xl cli binary for the current operating system and architecture from the dist at https://dist.xebialabs.com/public/xl-cli/

This behavior can be customized by adding a new "xlcli" field in your packages/backend/package.json file, like so:

//packages/backend/package.json
{
  "xlcli": {   
    "version": "24.3.4",
    "skipDownload": false
  }
}

The custom actions used in this template require the xl CLI binary to function correctly.

If you choose to skip automatic downloading (using the xl.skipDownload option), make sure to satisfy one of the following conditions:

a. The path to the xl binary is explicitly configured in your app-config.yaml. (See configuration details below)

xlcli:
# When adding this plugin to your Backstage instance, it will automatically try to download the latest xl-cli binary and use it.
# But if you already have xl cli installed, you can override the path below.
  binaryPath: '/home/ishwarya/backstage/xl_test'

b. The xl CLI is already installed and available in the system’s global PATH on the machine running Backstage.

Configuration

  1. Import the actions into your packages/backend/src/index.ts Backend Plugin of your Backstage instance:
// packages/backend/src/index.ts
import scaffolderxlcliModule from "@digital-ai/plugin-scaffolder-backend-module-digitalai-xlcli";
const backend = createBackend();
// ....
backend.add(scaffolderxlcliModule);

Preview

Preview the xl-cli apply action in backstage.

Usage

Please refer the template xl-cli-github and xl-cli-yaml-inline for more details on how to use the xlcli apply action in the backstage template.


    - id: xlcliApply
      name: Apply xl-cli
      action: digitalai:xlcli:apply
      input:
        product: ${{ parameters.product }}
        releaseInstance: ${{ parameters.releaseInstance }}
        filePath: ${{ parameters.filePath }}