hilangc


Command line tool

USAGE: hilangc [--help] [--source [<source>...]] [--domain <name>] [--sql <bool>] [--json <bool>] [--cs <path>]
               [--cpp <path>] [--java <path>] [--proto <path>] [--server <path>] [--mermaid <path>]
               [--import <xmi> <hilang>] [--export <hilang> <xmi>] [--transpose <assembly> <from path> <to path>]
               [--capture <sqlserver|oracle|postgres> <connection> <schema> <hilang>] [--dbcontext <assembly> <path>]

OPTIONS:

    --source [<source>...]
                          list of hilang files to parse
    --domain <name>       name of the domain context
    --sql <bool>          generate System.ComponentModel.DataAnnotations
    --json <bool>         generate System.Text.Json annotations
    --cs <path>           generate C# files
    --cpp <path>          generate C++ files
    --java <path>         generate Java files
    --proto <path>        generate proto3 gRpc files
    --server <path>       generate server
    --mermaid <path>      generate Mermaid diagram markdown
    --import <xmi> <hilang>
                          Import XMI file to HiLang source
    --export <hilang> <xmi>
                          Export HiLang source to XMI
    --transpose <assembly> <from path> <to path>
                          Transpose #id that have changed externally
    --capture <sqlserver|oracle|postgres> <connection> <schema> <hilang>
                          Capture model from a relational database
    --dbcontext <assembly> <path>
                          Convert assembly DBContext to hilang files
    --help                display this list of options.

HiLang has been designed for an interactive development experience with Visual Studio and Rosyln Source Generators. Any syntax errors are highlighted in code with one-click navigation from Visual Studio error window. The nuget package can be used with any IDE that supports dotnet development including JetBrains Rider and Visual Studio Code.

Once a model has been developed using C#, generation for other target languages is straightforward.

Modelling tool integration

The Sparx HiLang MDG supports model development using Sparx Enterprise Architect UML modelling environment.

hilangc --export supports export from .hilang to .xmi for XMI data interchange for Sparx and other UML modelling tools. hilangc --import supports import of an XMI .xmi file to .hilang from Sparx and other UML modelling tools

hilangc --mermaid generates a mermaid class diagram for use markdown documentation

Contact sales@cepheis.com for details

Copyright © Cepheis 2024