From Slicer Wiki
Jump to: navigation, search
Home < Documentation < Labs < CLIInfrastructureCleanupAndRefactoring


The current CLI logic and associated GUI classes consists of complex set of hardcoded check to handle different type of MRML node. It is nearly impossible for extension to extend the existing mechanism and support other type of input and output for new CLI modules. For core module extending the infrastructure, the current approach is to copy the MRML node into MRML/Core directory.

The current approach does not scale and is becoming more and more complex to manage and maintain:

The plan would be to generalize the infrastructure so that:

  • module can easily register new type of CLI output and input
  • module UI generation leverage CTK CLI infrastructure


  • TODO

Design and implementation

  • TODO

Slicer core changes

Future features

  • TODO


  • TODO

Topics to discuss

  • TODO


  • TODO