{"id":22663140,"url":"https://github.com/osmphp/windows-aliases","last_synced_at":"2025-03-29T09:14:02.505Z","repository":{"id":136441060,"uuid":"394574329","full_name":"osmphp/windows-aliases","owner":"osmphp","description":"Command line aliases for Osm Framework. Install them globally once for faster command typing.","archived":false,"fork":false,"pushed_at":"2021-08-10T08:42:04.000Z","size":16,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"v0.1","last_synced_at":"2025-02-03T23:40:54.663Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://osm.software/blog/21/08/framework-command-line-aliases.html","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osmphp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-10T08:08:29.000Z","updated_at":"2021-08-31T17:14:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe51dbc5-229f-481c-9cf1-5578130aea19","html_url":"https://github.com/osmphp/windows-aliases","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmphp%2Fwindows-aliases","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmphp%2Fwindows-aliases/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmphp%2Fwindows-aliases/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmphp%2Fwindows-aliases/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osmphp","download_url":"https://codeload.github.com/osmphp/windows-aliases/tar.gz/refs/heads/v0.1","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246162153,"owners_count":20733357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-09T12:17:24.052Z","updated_at":"2025-03-29T09:14:02.489Z","avatar_url":"https://github.com/osmphp.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Command Line Aliases for Osm Framework\n\nUse *command line aliases* for faster command typing. For example, after installing command line aliases, you can compile the application using\n\n    osmc Osm_App\n\ninstead of verbose \n\n    php vendor/osmphp/core/bin/compile.php Osm_App\n\n## Installation\n\n### Linux\n\nAdd the following lines to the end of your `~/.bashrc` file:\n\n    alias osmc='php vendor/osmphp/core/bin/compile.php'\n    alias osmh='php vendor/osmphp/core/bin/hint.php'\n    alias osmt='php vendor/osmphp/framework/bin/tools.php'\n    alias osm='php vendor/osmphp/framework/bin/console.php'\n\n### Windows\n\n1. Create a directory, for example `C:\\osm` and extract all the files from this Git repository.\n2. Add `C:\\osm\\windows-aliases-0.1` directory to the `PATH` system environment variable:\n\n    1. Press Windows button to open the Windows Start menu.\n    2. Type `env`, and open `Edit the system environment variables` window.\n    3. Click the `Environment variables` button.\n    4. In the `System variables` (the second one) section, double-click the `Path` variable.\n    5. Using the `New` button, add `C:\\osm\\windows-aliases-0.1` directory.\n    6. Click `OK` button in all three opened modal windows. \n\n## Usage\n\n### `osm` - Main Application\n\nUse `osm` alias for running commands of the main application, for example, for running the database migrations:\n\n    osm migrate:up\n    \nExplore all the commands by running `osm` alias without parameters:\n\n    osm \n\nExplore arguments and options of a specific command using `-h` switch:\n     \n    osm migrate:up -h\n    \n### `osmc` - Compiler\n\nUse `osmc` alias for compiling an application. For example, compiling the main application:\n\n    osmc Osm_App\n    \n### `osmh` - Hint Generator\n\nUse `osmh` alias for generating a hint files that enable better navigation and code completion in PhpStorm:\n\n    osmh Osm_App\n   \n### `osmt` - Tools\n\nUse `osmt` alias for running other command-line tools, for instance, for generating boilerplate code. \n\nJust as with `osm`, explore its commands, their arguments and options by running\n\n    osmt\n    \n  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosmphp%2Fwindows-aliases","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosmphp%2Fwindows-aliases","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosmphp%2Fwindows-aliases/lists"}