From fb36f781c64da3e43cf5dd16392634b1eff50937 Mon Sep 17 00:00:00 2001 From: grabbou Date: Thu, 14 Nov 2019 17:44:31 +0100 Subject: [PATCH] Update documentation --- docs/commands.md | 64 ------------------------------------------------ 1 file changed, 64 deletions(-) diff --git a/docs/commands.md b/docs/commands.md index ed3e32ef8..65eafa160 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -6,16 +6,12 @@ React Native CLI comes with following commands: - [`config`](#config) - [`init`](#init) - [`info`](#info) -- [`install`](#install) -- [`link`](#link) - [`log-android`](#log-android) - [`log-ios`](#log-ios) - [`ram-bundle`](#ram-bundle) - [`run-android`](#run-android) - [`run-ios`](#run-ios) - [`start`](#start) -- [`uninstall`](#uninstall) -- [`unlink`](#unlink) - [`upgrade`](#upgrade) ### `bundle` @@ -221,38 +217,6 @@ react-native info Get relevant version info about OS, toolchain and libraries. Useful when sending bug reports. -### `install` - -Usage: - -```sh -react-native install -``` - -Installs single package from npm and then links native dependencies. If `install` detects `yarn.lock` in your project, it will use Yarn as package manager. Otherwise `npm` will be used. - -### `link` - -> Will be replaced by [autolinking](./autolinking.md) soon. - -Usage: - -```sh -react-native link [packageName] -``` - -Links assets and optionally native modules. - -#### Options - -#### `--all` - -Link all native modules and assets. - -#### `--platforms [list]` - -Pass comma-separated list of platforms to scope `link` to. - ### `log-android` Usage: @@ -473,34 +437,6 @@ Path to custom SSL cert Path to the Metro configuration file (to overwrite the one detected automatically) -### `uninstall` - -Usage: - -```sh -react-native uninstall -``` - -Unlinks single package native dependencies and then uninstalls it from `package.json`. If `uninstall` detects `yarn.lock` in your project, it will use Yarn as package manager. Otherwise `npm` will be used. - -### `unlink` - -> Will be replaced by [autolinking](./autolinking.md) soon. - -Usage: - -``` -react-native unlink [options] -``` - -Unlink native dependency linked with the `link` command. - -#### Options - -#### `--platforms [list]` - -Scope unlinking to specified platforms - ### `upgrade` Usage: