Package com.helix.cli

Interface CliCommand

All Superinterfaces:
Callable<Integer>
All Known Implementing Classes:
CacheCommand, CompileCommand, ExecuteCommand, ExperimentCommand, ProfileCommand, ReplCommand, StreamCommand

public interface CliCommand extends Callable<Integer>
Base interface for all Helix CLI commands.
  • Method Summary

    Modifier and Type
    Method
    Description
    Executes the command logic.
  • Method Details

    • call

      Integer call() throws Exception
      Executes the command logic.
      Specified by:
      call in interface Callable<Integer>
      Returns:
      exit status code (0 for success, 1 for compilation error, 2 for execution error)
      Throws:
      Exception