<commit_before>::
:: Microsoft Azure SDK for Net - Generate library code
:: Copyright (C) Microsoft Corporation. All Rights Reserved.
::
 
set autoRestVersion=0.11.0-Nightly20150727
set specUrl="https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-logic/2015-02-01-preview/swagger/logic.json?token=AH8IX8feQ_AbVGqLGTA3zABKe4sMSgv4ks5VwpPzwA=="
set source=-Source https://www.myget.org/F/autorest/api/v2

set repoRoot=%~dp0..\..\..\..
set autoRestExe=%repoRoot%\packages\autorest.%autoRestVersion%\tools\AutoRest.exe
set generateFolder=%~dp0Generated

%repoRoot%\tools\nuget.exe install autorest %source% -Version %autoRestVersion% -o %repoRoot%\packages

if exist %generateFolder% rd /S /Q  %generateFolder%
%autoRestExe% -Input %specUrl% -outputDirectory %generateFolder% -Namespace Microsoft.Azure.Management.Logic -Header MICROSOFT_MIT -CodeGenerator Azure.CSharp -AddCredentials<commit_msg>Updated generate.cmd to use tools/autorest.gen.cmd<commit_after>::
:: Microsoft Azure SDK for Net - Generate library code
:: Copyright (C) Microsoft Corporation. All Rights Reserved.
::

@echo off
setlocal

set autoRestVersion=0.11.0-Nightly20150727
set repoRoot=%~dp0..\..\..\..
set generatedFolder=%~dp0Generated

if "%1" == "" (
    set specFile="https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-logic/2015-02-01-preview/swagger/logic.json?token=<KEY>
) else (
    set specFile="%1"
)

if exist %generatedFolder% rd /S /Q  %generatedFolder%

call "%repoRoot%\tools\autorest.gen.cmd" %specFile% Microsoft.Azure.Management.Logic %autoRestVersion% %generatedFolder%

endlocal
{'fraction_non_alphanumeric': 0.14152700186219738, 'fraction_numerical': 0.032898820608317815, 'mean_word_length': 5.248062015503876, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 3, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6099611', 'n_tokens_mistral': 582, 'n_tokens_neox': 531, 'n_words': 105}