New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@dbbs/cli

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dbbs/cli

DBBs CLI for code generation

npmnpm
Version
0.1.7
Version published
Weekly downloads
2
Maintainers
3
Weekly downloads
 
Created
Source

Name: dbbs-cli

Description

The cli package contains number of tools for code generation and platform components.

Installation

  • Install @dbbs/cli into your application globally using yarn.
yarn global add @dbbs/cli

Usage

Init Project

Once installed, you can run the CLI commands to initialize a new monorepo project:

dbbs-cli init <projectName>

This command will initialize a new project with the specified projectName and clone the necessary files to set up the basic structure of a monorepo.

Available parameters

Parameter NameTypeDefault ValueDescription
projectNamestringnoneThe name of the new project to be initialized. This will be used for directory creation and project configuration.

Add Package

dbbs-cli add-package <language> <packageName>

This command will install specified package to initialized project, package files will be saved to //packages.

Available parameters

Parameter NameTypeDefault ValueDescription
languagestringnoneThe programming language for the package. Choices are py for Python or ts for TypeScript.
packageNamestringnoneThe name of the package to be added. This will be cloned from the GitHub repository.

Generate App

dbbs-cli add-application <templateName>

This command will generate specified app into /apps directory, and install required dependencies.

Available parameters

Parameter NameTypeDefault ValueDescription
templateNamestringnoneName of the template to generate.

Examples

Features

Feature Keywords

  • cli
  • code-generation

Language and framework

  • JavaScript
  • TypeScript

Type

  • Package

Tech Category

  • Back-end
  • Front-end

License

The DBBS Pre-Built Solutions is open-source software licensed under the MIT License.

Authors and owners

  • Roman Bobrovskiy

External dependencies

  • yargs - Used for parsing CLI arguments.
  • path - Used for working with file and directory paths.

FAQs

Package last updated on 30 Jan 2025

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