Package: butch
Named after the famous Pulp Fiction boxerButch Coolidgefrom Tennessee.How to runInstallationpip install butchPost-InstallationMake sure to run the test suite after the installation to verify everything
works as it should. The test suite is included in the package itself, so it
should be located in the firstsite-packagesfolder found viasite.getsitepackages().python -m unittest discover \
    $(python -c "import site;print(site.getsitepackages()[0])")/butchDevelopmentGet the latest version:pip install https://github.com/KeyWeeUsr/butch/zipball/masterRunningButch is available as a standalone executable as well as a Python module,
therefore it can be invoked by any of these commands if installed properly:butch
python -m butchwhich will launch the REPL (console) directly.Usebutch /C "echo Hello, Batch"for interpreting a Batch command from a
string or usebutch /C hello.batto run Batch from a file.Use/Kswitch instead of/Cto jump into the console after a command or
a file finishes.Usebutch /hto display help for other switches.FeaturesCommands[ ]ASSOC[ ]CALL[X]CDpending:[ ]/Dchange current drive + path[X]CHDIR[X]CLS[ ]COLOR[ ]COPY[X]DATEpending:[ ] set the system date when called without arguments[X]DELpending:[ ]/Fforce deleting of read-only files[ ]/Sdelete specified files from all subdirectories[ ]/Aselects files to delete based on attributes[X]DIRpending:[ ] Volume drive lookup[ ] Volume label on drive[ ]/A[ ]/B[ ]/C[ ]/D[ ]/L[ ]/N[ ]/O[ ]/P[ ]/Q[ ]/S[ ]/T[ ]/W[ ]/X[ ]DIRCMDenv variable preset[X]ECHO[ ]ENDLOCAL[X]ERASE[X]EXIT[ ]FOR[ ]FTYPE[ ]GOTO[ ]IF[X]MD[X]MKDIR[ ]MKLINK[ ]MOVE[X]PATH[X]PAUSE[X]POPD[X]PROMPT[X]PUSHD[X]RD[X]REM[ ]REN[X]RMDIR[/]SETpending:[X] single value adding (set x=123)[X] single value clearing (set x=)[X] listing all stored variables (set)[X]/Pprompt for user input (set /P x=prompt)[ ] case-insensitive access, but case-sensitive output…[ ]SETLOCAL[ ]SHIFT[ ]START[X]TIMEpending:[ ] set the system time when called without arguments[X]TITLE[X]TYPE[ ]VER[ ]VERIFY[ ]VOL[X]::[ ] External commands[ ] CLI prioritization of external commandsSyntax[X] Echo off (@)[X] Quotes (")[X] Quotes (") in words[ ] Conditions (IF,ELSE)[ ] Caret escaping (^)[ ] Code blocks ((,))[ ] Code blocks (multi-line block with(,))[X] Redirection to commands (|- pipes)pending:[ ]RMDIRcommand doesn’t pull ctx.output and related parts[ ] generic command I/O handling as a decorator/class?[X] Output redirection (>,>>)[X] Input redirection (<), e.g.:set /pkey="prompt"< filehttps://ss64.com/nt/syntax-redirection.html[ ]Special (reserved) names[ ] Redirection to special (nul)[ ] Joining streams (STDIN, STDOUT, STDERR, UNDEFINED (3-9)) (2>&1)[ ] Command concatenation (&)[ ] Command concatenation (&&)[ ] Command concatenation (||)[ ] Recognize Windows path separator in path input (\)Console[ ]/?as a proper help page trigger[ ]/Tfor foreground/background colors[ ]/Afor printing onlyANSI(which is most likely just 1252)[ ]/Ufor printing Unicode (Unicode UCS-2 LE)[ ]/Dregistry with autorun commands (.bashrc, kind of) + ignore[ ]/E:ON|OFF,/X,/Yenable/disable command extensions[ ]/Squote stripping from commands[ ]/V:ON|OFFdelayed expansionTODO[ ]Ensurefor dynamic type checking[ ]Mypyfor static type checking[/] Documentation[X] PyPI package[ ] Library interface for programmatic emulation