{"id":29240210,"url":"https://github.com/rhdeck/react-native-cli-cli","last_synced_at":"2025-07-03T19:33:04.401Z","repository":{"id":57336081,"uuid":"146792833","full_name":"rhdeck/react-native-cli-cli","owner":"rhdeck","description":"Utility to create React Native CLI extensions","archived":false,"fork":false,"pushed_at":"2018-08-31T15:44:49.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-16T18:54:46.095Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhdeck.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}},"created_at":"2018-08-30T18:50:59.000Z","updated_at":"2019-05-14T02:40:52.000Z","dependencies_parsed_at":"2022-09-15T15:12:02.538Z","dependency_job_id":null,"html_url":"https://github.com/rhdeck/react-native-cli-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rhdeck/react-native-cli-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhdeck%2Freact-native-cli-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhdeck%2Freact-native-cli-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhdeck%2Freact-native-cli-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhdeck%2Freact-native-cli-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhdeck","download_url":"https://codeload.github.com/rhdeck/react-native-cli-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhdeck%2Freact-native-cli-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262316198,"owners_count":23292503,"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":"2025-07-03T19:31:21.121Z","updated_at":"2025-07-03T19:33:04.393Z","avatar_url":"https://github.com/rhdeck.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-cli-cli\n\nEasily create command-line extensions for React Native.\n\nHave you ever wished you could automate some aspect of your initialization or build process? React Native can make that easy via the plugin and link event subsystems. This package makes it even easier to spin up extensions that let you leverage those functionalities.\n\n# Example\n\n```bash\nyarn global add react-native-cli-cli\nreact-native-cli init react-native-mytestextension\nreact-native init mytestapp\ncd mytestapp\nyarn add ../react-native-mytestextension\nreact-native --help\n# See the added \"mytestextension\" options?\nreact-native mytestextension\n# See the results?\nreact-native link\n# See the prelink and postlink events fire?\ncd ../react-native-mytestextension\ncode .\n# Now make them do something useful for your projects!\n```\n\n# Installation\n\n```bash\nyarn global add react-native-cli-cli\n# or\nnpm i g react-native-cli-cli\n```\n\n# Usage\n\n```\nreact-native-cli init \u003cmyproject\u003e\n```\n\n**Note** In order to extend the `react-native` command list, your project name should start with `react-native`. This is not required for hooking the prelink and postlink events.\n\n# Using your extension\n\n```\ncd mytestapp\nreact-native myproject -a argument\n# and off you go!\n```\n\n# How to extend RN\n\nThe [RNPM repository README](https://github.com/rnpm/rnpm) contains excellent descriptions on how to extend via plugins and the link events.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhdeck%2Freact-native-cli-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhdeck%2Freact-native-cli-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhdeck%2Freact-native-cli-cli/lists"}