payloadcmsdirectory

cli

by payloadcmsdirectory
Testing & developer experience
v?

Overview

Summary generated from the README

A global command-line tool for working with Payload CMS projects. It can initialize a project, add, update, list and remove plugins, and generate new collections. It also offers interactive menus and a config file for project settings.

Features

  • Initialize a Payload project from the command line
  • Add, update and remove plugins by name
  • List available plugins
  • Generate new collection files
  • Interactive help menu for navigation
  • Create a CLI configuration file for the project

Use cases

  • Install and manage Payload plugins from the terminal without editing config by hand
  • Scaffold new collections quickly while building a Payload project

From the author

CLI tool for PayloadCMS plugins

Installation

npm i @payloadcmsdirectory/cli

4

Stars

0

Forks

0

Open Issues

1 years ago

Last Updated

0

Weekly Downloads

v0.2.38

npm Version

169.8 KB

Unpacked Size

12

Dependencies

GitHub stars

Trends appear after 7 days of data. Daily snapshots have not started yet.

npm weekly downloads

Trends appear after 7 days of data. Daily snapshots have not started yet.

Each point is npm's rolling 7-day download count.

Health Score

20/100Poor

Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.

Badge for your README

Payload Directory health badge
Markdown
[![Payload Directory](https://payloaddirectory.dev/badge/955399119-root.svg)](https://payloaddirectory.dev/plugins/955399119-root)
HTML
<a href="https://payloaddirectory.dev/plugins/955399119-root"><img src="https://payloaddirectory.dev/badge/955399119-root.svg" alt="Payload Directory"></a>
Updated Mar 26, 2025Created Mar 26, 2025Published Mar 26, 2025

README

PayloadCMS Directory CLI

PayloadCMS Directory CLI

A command-line interface tool for managing PayloadCMS plugins and configurations.

Features

  • 🚀 Initialize PayloadCMS projects
  • 📦 Install and manage plugins
  • 🔨 Generate collections and configurations
  • 🎯 Interactive menus for easy navigation
  • ⚙️ Project configuration management

Installation

npm install -g @payloadcmsdirectory/cli
# or
yarn global add @payloadcmsdirectory/cli
# or
pnpm add -g @payloadcmsdirectory/cli

Usage

Run the CLI:

payloadcli

Or use it directly with npx:

npx @payloadcmsdirectory/cli

Commands

  • init - Initialize a PayloadCMS project
  • add [plugin] - Add a plugin to your project
  • list - List available plugins
  • update [plugin] - Update an installed plugin
  • remove [plugin] - Remove an installed plugin
  • generate:collection [name] - Generate a new collection
  • init:config - Initialize PayloadCLI config file
  • help - Show interactive help menu

Contributing

Please read our Contributing Guide before submitting a Pull Request to the project.

Support

License

MIT © PayloadCMS Directory

Similar plugins