Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable jina expansion in id defaults #212

Merged
merged 1 commit into from
May 2, 2024
Merged

enable jina expansion in id defaults #212

merged 1 commit into from
May 2, 2024

Conversation

gilesknap
Copy link
Member

enables use of Jinja templating in the default value of an id argument.

e.g.

module: ipac

defs:
  - name: Hy8002
    description: |-
      Configure a Hytec 8002 Carrier card
    args:
      - type: id
        name: IPACid
        description: |-
          Identifier for this device
        default: IPAC{{ slot }}

      - type: int
        name: slot
        description: |-
          VME Slot number

@gilesknap gilesknap merged commit 2ebec7e into main May 2, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant