retrieva

1.1.0 • Public • Published

retrieva

Retrieva logo

A CLI tool for retrieving components from a remote repository. Similar to npm install but for components. There's no updating mechanism, so you can edit and modify installed components as you wish.

Prerequisites

  • Node.js 18 or higher
  • Git

Installation

First, you need to install the package. You can do this globally or locally.

NPM

npm i -g retrieva

PNPM

pnpm i -g retrieva

Yarn

yarn global add retrieva

Usage

Initialization

Any project using retrieva must have a retrieva.json file in the root directory. The init command will create this file for you.

retrieva init

Interested in how the retrieva.json file looks like? Check out the one in this repository here.

Retrieval

To install one or more components, use the get command. Retrieva will then fetch the remote repository and install the components in the local project.

retrieva get <components...> # e.g. retrieva get button card

Package Sidebar

Install

npm i retrieva

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

19.6 kB

Total Files

19

Last publish

Collaborators

  • coyan