module
Version:
v0.0.0-...-47ab91c
Opens a new window with list of versions in this module.
Published: Apr 22, 2025
License: GPL-3.0
Opens a new window with license information.
README
¶
CWMP Data Model Converter
A CLI tool that converts CWMP (CPE WAN Management Protocol) data models from XML format to various programming languages.
Features
- Converts CWMP XML models into:
- Golang structs
- TypeScript interfaces
- C header files
- Easy-to-use CLI interface
- Preserves documentation and field types
Installation
go install github.com/Niceblueman/cwmp-codegen/cmd/cwmp-codegen@latest
To run the tests:
bash
go test ./...
To run benchmarks:
bash
go test -bench=. ./...
To build the project:
bash
make build
To create a release with cross-platform binaries:
bash
make release
Directories
¶
cmd
|
|
|
|
|
internal
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.