anchor.diff:      %% Pre-load the rebar app so that we get default configuration
       ok = application:load(rebar).
   
  --spec init_config({proplists:proplist(), proplists:proplist()}) -> config().
  +-spec init_config({proplists:proplist(), proplists:proplist()}) -> rebar_config:config().
   init_config({Options, _NonOptArgs}) ->
       %% If $HOME/.rebar/config exists load and use as global config
       GlobalConfigFile = filename:join([os:getenv("HOME"), ".rebar", "config"]),
  
positive.code: -endif.
  
  -define(DEFAULT_JOBS, 3).
  
  -type config() :: {config,
                nonempty_string(),
                [{atom(), term()} | atom()],
                dict:dict(),
                dict:dict(),
                dict:dict(),
                dict:dict() }.
  
  %% ====================================================================
  %% Public API
  
negative.code:     end.
  
  %% Erlang-API entry point
  -spec run(rebar_config:config(), [string()]) -> ok.
  run(BaseConfig, Commands) ->
      _ = application:load(rebar),
      run_aux(BaseConfig, Commands).
  