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

@fluentity/cli

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentity/cli

Fluentity CLI for model generation

latest
Source
npmnpm
Version
1.3.0
Version published
Maintainers
1
Created
Source

Fluentity CLI

A command-line interface tool for generating Fluentity models. This tool helps streamline the process of creating and managing Fluentity models in your project.

Installation

# Using npm
npm install -g @fluentity/cli

# Using pnpm
pnpm add -g @fluentity/cli

# Using yarn
yarn global add @fluentity/cli

Usage

The CLI provides a simple interface for generating Fluentity models:

# Generate a new model
fluentity generate:model [name]

# Generate a model with specific options
fluentity generate:model [name] --path ./custom/path --force

Commands

generate:model [name]

Generates a new Fluentity model with the specified name.

Arguments:

  • [name] - Name of the model to generate (optional)

Options:

  • -p, --path <path> - Path where the model should be generated (default: './src/models')
  • -f, --force - Overwrite existing model file if it exists

parse:openapi [filename]

Generates all Fluentity models from a JSON OpenAPI file.

Arguments:

  • [filename] - Name of the JSON file to parse

Options:

  • -p, --path <path> - Path where the model should be generated (default: './src/models')
  • -f, --force - Overwrite existing model file if it exists

Development

Prerequisites

  • Node.js (Latest LTS version recommended)
  • pnpm 8.0.0 or later

Setup

  • Clone the repository
  • Install dependencies:
    pnpm install
    

Available Scripts

  • pnpm build - Build the project
  • pnpm start - Run the CLI locally
  • pnpm dev - Build and watch for changes
  • pnpm test - Run tests
  • pnpm test:coverage - Run tests with coverage
  • pnpm test:ui - Run tests with UI

License

MIT © Cedric Pierre

Author

  • Cedric Pierre (jirotoh@gmail.com)

Keywords

fluentity

FAQs

Package last updated on 29 May 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