 logger = require './logger'
 styler = require './styler'
 cleaner = require './cleaner'
+{ check } = require './equality-checker'
 
 ######### - Argument checks and preprocess - ##########
 N_META_ARGUMENTS = 2

                'profile', 'p']

    cmd = process.argv[N_META_ARGUMENTS]
    unless cmd in COMMANDS
        logger.e("#{styler.id cmd} is not a optim command. Run #{styler.id 'optim --help'}
                  for the list of commands", margin: on, exit: yes)

######### - CLI command, options and version definitions- ##########
cli.version version

    .option '-a, --forward-args <[program-specification:]arguments-string>',
        "Forward arguments to the programs"
    .option '-l, --last',
        "Only check equality with the program with greatest modification time"
    .action check

# Compile command
cli
