-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(command-lm): merge netlify-lm-plugin to CLI (#1489)
- Loading branch information
Showing
22 changed files
with
1,881 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
--- | ||
title: Netlify CLI lm command | ||
--- | ||
|
||
# `lm` | ||
|
||
## About | ||
|
||
<!-- AUTO-GENERATED-CONTENT:START (GENERATE_COMMANDS_DOCS) --> | ||
Handle Netlify Large Media operations | ||
The lm command will help you manage large media for a site | ||
|
||
|
||
**Usage** | ||
|
||
```bash | ||
netlify lm | ||
``` | ||
|
||
**Flags** | ||
|
||
- `debug` (*boolean*) - Print debugging information | ||
- `httpProxy` (*string*) - Proxy server address to route requests through. | ||
- `httpProxyCertificateFilename` (*string*) - Certificate file to use when connecting using a proxy server | ||
|
||
| Subcommand | description | | ||
|:--------------------------- |:-----| | ||
| [`lm:info`](/docs/commands/lm.md#lminfo) | Show large media requirements information. | | ||
| [`lm:install`](/docs/commands/lm.md#lminstall) | Configures your computer to use Netlify Large Media. | | ||
| [`lm:setup`](/docs/commands/lm.md#lmsetup) | Configures your site to use Netlify Large Media. | | ||
|
||
|
||
**Examples** | ||
|
||
```bash | ||
netlify lm:info | ||
netlify lm:install | ||
netlify lm:setup | ||
``` | ||
|
||
--- | ||
## `lm:info` | ||
|
||
Show large media requirements information. | ||
|
||
**Usage** | ||
|
||
```bash | ||
netlify lm:info | ||
``` | ||
|
||
**Flags** | ||
|
||
- `debug` (*boolean*) - Print debugging information | ||
- `httpProxy` (*string*) - Proxy server address to route requests through. | ||
- `httpProxyCertificateFilename` (*string*) - Certificate file to use when connecting using a proxy server | ||
|
||
--- | ||
## `lm:install` | ||
|
||
Configures your computer to use Netlify Large Media. | ||
It installs the required credentials helper for Git, | ||
and configures your Git environment with the right credentials. | ||
|
||
**Usage** | ||
|
||
```bash | ||
netlify lm:install | ||
``` | ||
|
||
**Flags** | ||
|
||
- `force` (*boolean*) - Force the credentials helper installation | ||
|
||
--- | ||
## `lm:setup` | ||
|
||
Configures your site to use Netlify Large Media. | ||
It runs the install command if you have not installed the dependencies yet. | ||
|
||
**Usage** | ||
|
||
```bash | ||
netlify lm:setup | ||
``` | ||
|
||
**Flags** | ||
|
||
- `skip-install` (*boolean*) - Skip the credentials helper installation check | ||
- `force-install` (*boolean*) - Force the credentials helper installation | ||
- `debug` (*boolean*) - Print debugging information | ||
- `httpProxy` (*string*) - Proxy server address to route requests through. | ||
- `httpProxyCertificateFilename` (*string*) - Certificate file to use when connecting using a proxy server | ||
|
||
--- | ||
|
||
<!-- AUTO-GENERATED-CONTENT:END --> |
Oops, something went wrong.