cwmp-codegen

module
v0.0.0-...-47ab91c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2025 License: GPL-3.0

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

Path Synopsis
cmd
cwmp-codegen command
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL