Public Access
fix: rename mokoplatform/moko-platform to MokoCLI everywhere (#262) #278
Reference in New Issue
Block a user
Delete Branch "fix/262-rename-mokoplatform-to-mokocli"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Comprehensive rename of
mokoplatform/moko-platform/MokoPlatformtoMokoCLIacross the entire codebase. Closes #262.Sub-tasks completed
src/aliases.php,scripts/setup-mokocli-aliases.sh, dual-path CIcomposer.json,mcp/package.json,phpcs.xml, issue templates, etc.bin/mokobanner,bin/validate-moduleoutput.mokogitea/Backward compatibility
src/aliases.phpprovides forward aliases (mokocli_version(),mokocli_root_dir()) and backward aliases (mokoplatform_version(),mokoplatform_root_dir()) withE_USER_DEPRECATEDnoticesmokocli_resolve_install_path()checks both/opt/mokocliand/opt/mokoplatformscripts/setup-mokocli-aliases.shcreates bidirectional symlinks on runnersauto-bump.ymlchecks both/opt/mokocliand/opt/mokoplatformpathsplatform_detect.phpaccepts bothmokocliandmokoplatformdirectory namesbinhas bothmokocli-mcpandmoko-platform-mcpentriesStill requires separate work
Test plan
composer installsucceeds with new package namephp bin/moko listshows updated bannerphp bin/moko health --path .passes5c48e81c59to908e839c30