Skip to content

CLIgen 6.3.0

Compare
Choose a tag to compare
@olofhagsand olofhagsand released this 29 Jul 12:54
· 50 commits to master since this release

6.3.0

29 July 2023

New features

  • Output pipes
    • Callbacks with name starting with | is a pipe tree containing pipe output function
    • Use 'pipetree="|"` to reference a default pipe-tree.
    • For more info:

Minor features

  • Added callback_argument access functions for keeping track of api-paths for recursive expands
    • This is to enable memory footprint optimization in higher layers (clixon)
  • Removed extras/ build-root/ and rpm build code since they are not properly maintained

C/CLI-API changes on existing features

Developers may need to change their code

  • Refactoring of tree expansion code,
    • Most of these API changes are internal and should not affect external API (but may):
    • cligen_eval(): Removed callback parameter
    • cliread_parse(): Removed callback parameter
    • Renamed co flag: CO_FLAGS_TREEREF to CO_FLAGS_TOPOFTREE
  • Renamed cligen_parse functions and added treename parameter:
    • Renamed cligen_parse_str to clispec_parse_str and cligen_parse_file to clispec_parse_file
    • Added treename parameter, default NULL