{"id":15292295,"url":"https://github.com/webredone/trb-cli","last_synced_at":"2025-10-16T13:11:45.731Z","repository":{"id":57751557,"uuid":"523469424","full_name":"webredone/trb-cli","owner":"webredone","description":"TRB-CLI is a handy Node.js CLI that automates the process of managing blocks in a theme-redone theme. Instead of manually creating new blocks, and copying and renaming files, you can do just that with a single simple command.","archived":false,"fork":false,"pushed_at":"2025-01-09T08:44:42.000Z","size":82,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-21T10:03:56.648Z","etag":null,"topics":["cli","gutenberg","gutenberg-blocks","gutenberg-boilerplate","latte-template-engine","wordpress","wordpress-development","wordpress-development-workflow","wordpress-starter-framework","wordpress-starter-theme","wordpress-theme","wp"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@webredone/trb-cli","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webredone.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-08-10T19:18:42.000Z","updated_at":"2024-03-24T19:20:41.000Z","dependencies_parsed_at":"2024-04-16T23:35:09.083Z","dependency_job_id":"0b12ed10-89e6-43d1-b1b1-b23c8e5f43c3","html_url":"https://github.com/webredone/trb-cli","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"83cb8e1e4ce825d19f702f00e48bd1c505d30d66"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webredone%2Ftrb-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webredone%2Ftrb-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webredone%2Ftrb-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webredone%2Ftrb-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webredone","download_url":"https://codeload.github.com/webredone/trb-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248703199,"owners_count":21148118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","gutenberg","gutenberg-blocks","gutenberg-boilerplate","latte-template-engine","wordpress","wordpress-development","wordpress-development-workflow","wordpress-starter-framework","wordpress-starter-theme","wordpress-theme","wp"],"created_at":"2024-09-30T16:17:17.495Z","updated_at":"2025-10-16T13:11:40.692Z","avatar_url":"https://github.com/webredone.png","language":"JavaScript","readme":"[![Theme Redone Gutenberg WordPress Framework](https://raw.githubusercontent.com/webredone/trb-cli/main/trb-cli-logo.svg)](https://webredone.com/theme-redone/gutenberg-blocks-framework/trb-cli/)\n\n# **TRB CLI (Theme Redone Blocks CLI)**\n\nTRB-CLI is a handy Node.js CLI that automates the process of managing blocks in a **[theme-redone WordPress theme framework](https://webredone.com/theme-redone/)**.\n\nInstead of manually creating new blocks, and copying and renaming files, you can do just that with a single simple command.\n\n---\n\n## **Installation**\n\n- Make sure to have the node version **\u003e=20.10.0** installed\n- Install the trb-cli package globally via the **npm install @webredone/trb-cli -g** command.\n- 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.\n\n---\n\n## **Usage and Commands**\n\nTo be able to use the TRB CLI you should be inside the root of the theme-redone theme from inside the terminal.\n\nCommands 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.\n\n---\n\n## **Main Commands**\n\n- **trb add kebab-case-block-name** - Creates a new block with the desired name (must be in kebab-case)\n- **trb remove kebab-case-block-name** - Removes the existing block\n- **trb rename kebab-case-block-name-original kebab-case-block-name-renamed** - Renames selected block\n\n* **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\n\n---\n\n## Visit https://webredone.com/theme-redone/ to learn more.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebredone%2Ftrb-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebredone%2Ftrb-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebredone%2Ftrb-cli/lists"}