Skip to content

openc3.bat needs explicitly --python or --ruby when trying code generator examples, which is undocumented #75

@jurgensymynck

Description

@jurgensymynck

Hi,

All code examples on the code generator documentation:

openc3.sh cli generate plugin GSE
...
openc3.sh cli generate target GSE
...
openc3.sh cli generate microservice background
...
openc3.sh cli generate limits_response GSE double
...
openc3.sh cli generate limits_response GSE safe
...
openc3.sh cli generate widget HelloworldWidget
...
openc3.sh cli generate widget DataVis

... when using openc3.bat at least, result in:

One of --python or --ruby is required unless OPENC3_LANGUAGE is set.

in .env, by default, OPENC3_LANGUAGE is unset

# This can be used to set the default language for generators
# OPENC3_LANGUAGE=ruby

I assume all above lines should have a proper postfix, or an extra line on top of the instructions should set the variable.

gr. Jurgen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions