0.0.4 • Published 7 months ago

@cli-upkaran/core v0.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

@cli-upkaran/core

npm version

Core utilities, types, and plugin system for cli-upkaran.

This package provides the essential building blocks for the cli-upkaran toolkit and its plugins.

Features

  • Defines core types (GlobalConfig, PluginConfig, CommandDefinition, etc.)
  • Plugin loading mechanism (plugin-loader.ts)
  • Configuration management (config.ts)
  • Shared utilities (e.g., logger.ts)
  • Custom error classes (error.ts)

Installation

This package is primarily intended as a dependency for cli-upkaran plugins.

pnpm add @cli-upkaran/core

Usage

Plugin developers will import types and potentially utilities from this package.

import type {
  CommandDefinition,
  CommandPlugin,
  RegisterCommandsFn
} from '@cli-upkaran/core';

// ... plugin code ...

Contributing

See the main CONTRIBUTING.md in the root of the repository.

License

MIT - See the main LICENSE file in the root of the repository.