Skip to content

Identical Functions

🛠️ Tools · ⬅ Top


identicalRepair

Repair an identical token in destination from source

Usage

identicalRepair token source destination

Repair an identical token in destination from source

Return codes

  • 0 - Success
  • 1 - Environment error
  • 2 - Argument error

identicalCheck

Return Code: 2 - Argument error

Debugging settings

Append to the value of BUILD_DEBUG (a comma-delimited (,) list) and add these tokens to enable debugging:

  • identical-compare - Show verbose comparisons when things differ between identical sections

Return codes

  • 0 - Success
  • 1 - Environment error
  • 2 - Argument error

identicalCheckShell

Identical check for shell files

Return codes

  • 0 - Success
  • 1 - Environment error
  • 2 - Argument error

identicalFindTokens

undocumented

Usage

identicalFindTokens --prefix prefix file ...

No documentation for identicalFindTokens.

Writes to standard output

tokens, one per line

Arguments

  • --prefix prefix - Required. String. A text prefix to search for to identify identical sections (e.g. # IDENTICAL) (may specify more than one)
  • file ... - Required. File. A file to search for identical tokens.

Return codes

  • 0 - Success
  • 1 - Environment error
  • 2 - Argument error

identicalWatch

Watch a project for changes and propagate them immediately upon

Usage

identicalWatch [ --help ] [ --handler handler ] ...

Watch a project for changes and propagate them immediately upon save. Can be quite dangerous so use with caution. Still a known bug which trims the last end bracket from files

Arguments

  • --help - Optional. Flag. Display this help.
  • --handler handler - Optional. Function. Use this error handler instead of the default error handler.
  • ... - Arguments. Required. Arguments to identicalCheck for your watch.

Return codes

  • 0 - Success
  • 1 - Environment error
  • 2 - Argument error