@cedra-labs/cedra-cli
v1.2.0
Published
Cedra CLI available from npmjs
Readme
cedra CLI
The @cedra-labs/cedra-cli package allows you to use the cedra CLI from inside a Nodejs project.
Download
To install the cedra CLI, you need to have Node.js and npm installed on your system. Then, you can install it using:
npm install @cedra-labs/cedra-cliThat command will download the cedra CLI and create a Node bin file, making it available to use in a Node environment.
Install
Once you have the package installed and the Node bin file, you can run the following command, in your project environment, to install the cedra CLI in your project:
npx cedra --installAlternatively, you can simply run the cli using the npx cedra command. That will install the cedra CLI in your project if it's not already installed.
npx cedraUsage
To use the cedra CLI, in your project environment, run the npx cedra command, to see the available commands.
npx cedraUpdating the cedra CLI
To update the cedra CLI, you can run the following command within your project environment:
npx cedra --updateDevelopment
To set up the project for development:
- Clone the repository
- Install dependencies:
npm install - Run the development server:
npm run dev
This will build the project and run the CLI.
Building
To build the project:
npm run build