@kalouk/cli
v0.0.0
Published
Command line interface for interacting with Kalouk tools and services
Maintainers
Readme
Kalouk CLI
Command line interface for interacting with Kalouk tools and services.
Installation
npm install
npm run buildDevelopment
npm run dev -- --helpUsage
Main Help
kalouk --help
# or
kalouk -hQuery Interface (quin)
kalouk quin --help
# or
kalouk quin -hAvailable quin commands:
search- Search for data using Kalouk APIget- Get specific data by IDlist- List available resources
Data Pipeline (pipe)
kalouk pipe --help
# or
kalouk pipe -hAvailable pipe commands:
create- Create a new data pipelinestart- Start an existing pipelinestop- Stop a running pipelinestatus- Check pipeline statuslist- List all pipelinesdelete- Delete a pipeline
Examples
# Query interface examples
kalouk quin search -q "temperature" -f table
kalouk quin get 12345 -f json
kalouk quin list -t sensors
# Data pipeline examples
kalouk pipe create my-pipeline -s mqtt://localhost -d postgres://db
kalouk pipe start my-pipeline --watch
kalouk pipe status -aProject Structure
src/
├── index.ts # Main CLI entry point
├── commands/
│ ├── quin.ts # Query interface commands
│ └── pipe.ts # Data pipeline commands
└── utils/
└── logger.ts # Logging utilitiesDevelopment Status
🚧 This is a scaffold/template - All commands currently show placeholder functionality with "fake" help information. The actual implementation logic is marked with TODO comments and needs to be developed.
Contributing
- Implement the TODO sections in the command files
- Add proper error handling
- Add configuration management
- Add tests
- Add more detailed documentation
