<commit_before>:: Asset API
::
:: This file is called whenever a user enters an asset, such as Cat or Shot01.
::
:: Arguments:
:: 	 %1: Name of asset, e.g. Bruce
:: 	 %2: Absolute path to asset parent directory, e.g. m:\f01_projects\p999_Demo\assets
::
:: Example:
::   $ call _mkasset Bruce %~dp0

@echo off

set MINDBENDER_ASSET=%1
set MINDBENDER_ASSETPATH=%2%MINDBENDER_ASSET%

If not exist %MINDBENDER_ASSETPATH% (
	mkdir %MINDBENDER_ASSETPATH%
	mkdir %MINDBENDER_ASSETPATH%\work
)

title %MINDBENDER_PROJECTPATH% / %MINDBENDER_ASSET%

:: Clear screen
cls

echo+
echo   %MINDBENDER_ASSET% -----------
echo+
echo+
echo   1. Type application and task.
echo   2. Press [Enter] to launch application.
echo+
echo   For example:
echo+
echo   $ maya animation
echo   $ nuke comp
echo+

:: List available tasks, without their .bat suffix
setlocal enabledelayedexpansion
set FOLDERQUERY=%MINDBENDER_ASSETPATH%\work
if exist %FOLDERQUERY%\*.bat (
	echo    These are available:
	for /f %%i in ('dir %FOLDERQUERY%\. /b /a:-d /o:n') do (
    	set temp=%%i
    	echo    !temp:.bat=!
    )
)
endlocal

echo+
echo --------------------------------------

pushd %MINDBENDER_ASSETPATH%\work<commit_msg>update show full file name<commit_after>:: Asset API
::
:: This file is called whenever a user enters an asset, such as Cat or Shot01.
::
:: Arguments:
:: 	 %1: Name of asset, e.g. Bruce
:: 	 %2: Absolute path to asset parent directory, e.g. m:\f01_projects\p999_Demo\assets
::
:: Example:
::   $ call _mkasset Bruce %~dp0

@echo off

set MINDBENDER_ASSET=%1
set MINDBENDER_ASSETPATH=%2%MINDBENDER_ASSET%

If not exist %MINDBENDER_ASSETPATH% (
	mkdir %MINDBENDER_ASSETPATH%
	mkdir %MINDBENDER_ASSETPATH%\work
)

title %MINDBENDER_PROJECTPATH% / %MINDBENDER_ASSET%

:: Clear screen
cls

echo+
echo    %MINDBENDER_ASSET% -----------
echo+
echo+
echo    1. Type application and task.
echo    2. Press [Enter] to launch application.
echo+
echo    For example:
echo+
echo    $ maya animation
echo    $ nuke comp
echo+

:: List available tasks, without their .bat suffix
setlocal enabledelayedexpansion
set FOLDERQUERY=%MINDBENDER_ASSETPATH%\work
if exist %FOLDERQUERY%\*.bat (
	echo   These are available:
	for /r %FOLDERQUERY%\. %%g in (*.bat) do (
		set temp=%%~nxg
    	echo    $ !temp:.bat=!
	)
)
endlocal


echo+
echo --------------------------------------

pushd %MINDBENDER_ASSETPATH%\work
{'fraction_non_alphanumeric': 0.14970563498738435, 'fraction_numerical': 0.011774600504625737, 'mean_word_length': 3.3254545454545457, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '1598190', 'n_tokens_mistral': 900, 'n_tokens_neox': 859, 'n_words': 252}