New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@webredone/trb-cli

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webredone/trb-cli

TRB-CLI is a handy Node.js CLI that automates the process of managing blocks in a Theme Redone WordPress theme

  • 3.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Theme Redone Gutenberg WordPress Framework

TRB CLI (Theme Redone Blocks CLI)

TRB-CLI is a handy Node.js CLI that automates the process of managing blocks in a theme-redone WordPress theme framework.

Instead of manually creating new blocks, and copying and renaming files, you can do just that with a single simple command.


Installation

  • Make sure to have the node version >=20.10.0 installed
  • Install the trb-cli package globally via the npm install @webredone/trb-cli -g command.
  • Verify that the package was installed successfully by running the trb command; This command lists all the available trb-cli commands. If that’s the case, you are all set up.

Usage and Commands

To be able to use the TRB CLI you should be inside the root of the theme-redone theme from inside the terminal.

Commands will only run if the CLI detects that it’s called from the theme root which it verifies by the presence of the "name": "theme-redone" line inside the theme’s package.json.


Main Commands

  • trb add kebab-case-block-name - Creates a new block with the desired name (must be in kebab-case)
  • trb remove kebab-case-block-name - Removes the existing block
  • trb rename kebab-case-block-name-original kebab-case-block-name-renamed - Renames selected block
  • trb copy kebab-case-block-name-copy-from kebab-case-block-name-copy-to - Copies selected block into a new block with the desired name

Visit https://webredone.com/theme-redone/ to learn more.

Keywords

FAQs

Package last updated on 11 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc