anchor.diff:      ?DEBUG("Uncaught error: ~p", [Error]),
       ?INFO("When submitting a bug report, please include the output of `rebar3 report \"your command\"`", []),
       erlang:halt(1).
  +
  +start_and_load_apps() ->
  +    _ = application:load(rebar),
  +    %% Make sure crypto is running
  +    case crypto:start() of
  +        ok -> ok;
  +        {error,{already_started,crypto}} -> ok
  +    end,
  +    application:start(asn1),
  +    application:start(public_key),
  +    application:start(ssl),
  +    inets:start().
  
positive.code: 
  %% Erlang-API entry point
  run(BaseState, Commands) ->
      _ = application:load(rebar),
      BaseState1 = rebar_state:set(BaseState, task, Commands),
      BaseState2 = rebar_state:set(BaseState1, caller, api),
      run_aux(BaseState2, Commands).
  
negative.code: %% ====================================================================
  
  run(RawArgs) ->
      start_and_load_apps(),
  
      BaseState = init_config(),
      BaseState1 = rebar_state:set(BaseState, caller, command_line),
  