prismtty 0.2.1

Fast terminal output highlighter focused on network devices and Unix systems
Documentation
profile:
  name: juniper
  inherits: [generic]
  detection:
    - junos
    - commit check
  runtime:
    priority: 10
    strong_signals:
      - type: contains
        value: junos
    negative_signals:
      - type: contains
        value: pan-os
      - type: contains
        value: pa-vm
      - type: contains
        value: palo alto
      - type: contains
        value: versa-
      - type: contains
        value: versa networks
      - type: contains
        value: versa director
    startup_prompt: junos_user_at_host
    runtime_prompt: junos_user_at_host
rules:
  - description: Juniper prompt
    regex: '(?m)^(\w+)(@)([^>%\n]+)([>%])'
    color: f#00bfff
  - description: Juniper interface
    regex: '(?i)\b(((fe|ge|xe|et|gr|ip|lt|lsq|mt|sp|vcp)-\d*/\d*/\d*)|(((b)?me|em|fab|fxp|fti|lo|pp(d|e)?|st|swfab)[0-2]|dsc|gre|ipip|irb|jsrv|lsi|mtun|pimd|pime|tap|vlan|vme|vtep)|((ae|reth)\d*))(\.\d*)?\b'
    color: f#0099ff
  - description: Juniper compare added
    regex: '(?m)^\+ .*$'
    color: f#00dc1a
  - description: Juniper compare removed
    regex: '(?m)^- .*$'
    color: f#ff3333