@nebulaai/cli-core
v1.0.0
Published
Core CLI infrastructure and utilities for NebulaAI command-line tools
Downloads
13
Maintainers
Readme
@nebulaai/cli-core
Core CLI infrastructure and utilities for NebulaAI command-line tools.
Features
- Extensible CLI framework
- Built-in command registration
- Colored output and progress indicators
- Error handling and validation
- Commander.js integration
Installation
npm install @nebulaai/cli-coreUsage
import { createCLI, CLIConfig } from '@nebulaai/cli-core';
const config: CLIConfig = {
name: 'my-cli',
version: '1.0.0',
description: 'My CLI application',
commands: [
{
name: 'hello',
description: 'Say hello',
action: (args, options) => {
console.log('Hello, world!');
}
}
]
};
const cli = createCLI(config);
cli.run();API Reference
createCLI(config: CLIConfig)
Creates a new CLI instance with the provided configuration.
NebulaAICLI
Main CLI class that handles command registration and execution.
Contributing
We welcome contributions! Please see our Contributing Guide for details.
License
MIT License - see LICENSE file for details.
Author
Jorge Gonzalez & Temporal AI Technologies Inc
