Skip to content

Commit

Permalink
docs: add build command doc for repo + cli.netlify.com (#879)
Browse files Browse the repository at this point in the history
Co-authored-by: Raees Iqbal <[email protected]>
  • Loading branch information
DavidWells and RaeesBhatti authored May 25, 2020
1 parent d2b4d7c commit eb77a69
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ site/src/**/*.md
!site/src/register-addon.md
!site/src/register-addon-thanks.md
oclif.manifest.json

# Local Netlify folder
.netlify
28 changes: 28 additions & 0 deletions docs/commands/build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: Netlify CLI build command
---

# `build`

<!-- AUTO-GENERATED-CONTENT:START (GENERATE_COMMANDS_DOCS) -->
(Beta) Build on your local machine

**Usage**

```bash
netlify build
```

**Flags**

- `dry` (*boolean*) - Dry run: show instructions without running them
- `context` (*option*) - Build context

**Examples**

```bash
netlify build
```


<!-- AUTO-GENERATED-CONTENT:END -->
1 change: 1 addition & 0 deletions site/src/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const navOrder = [
'commands',
'addons',
'api',
'build',
'deploy',
'dev',
'functions',
Expand Down

0 comments on commit eb77a69

Please sign in to comment.