Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ Manage netlify functions
| [`functions:build`](/docs/commands/functions.md#functionsbuild) | Build functions locally |
| [`functions:create`](/docs/commands/functions.md#functionscreate) | Create a new function locally |
| [`functions:invoke`](/docs/commands/functions.md#functionsinvoke) | Trigger a function while in netlify dev with simulated data, good for testing function calls including Netlify's Event Triggered Functions |
| [`functions:list`](/docs/commands/functions.md#functionslist) | List functions that exist locally |


### [init](/docs/commands/init.md)
Expand Down
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ Manage netlify functions
| [`functions:build`](/docs/commands/functions.md#functionsbuild) | Build functions locally |
| [`functions:create`](/docs/commands/functions.md#functionscreate) | Create a new function locally |
| [`functions:invoke`](/docs/commands/functions.md#functionsinvoke) | Trigger a function while in netlify dev with simulated data, good for testing function calls including Netlify's Event Triggered Functions |
| [`functions:list`](/docs/commands/functions.md#functionslist) | List functions that exist locally |


### [init](/docs/commands/init.md)
Expand Down
26 changes: 26 additions & 0 deletions docs/commands/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ netlify functions
| [`functions:build`](/docs/commands/functions.md#functionsbuild) | Build functions locally |
| [`functions:create`](/docs/commands/functions.md#functionscreate) | Create a new function locally |
| [`functions:invoke`](/docs/commands/functions.md#functionsinvoke) | Trigger a function while in netlify dev with simulated data, good for testing function calls including Netlify's Event Triggered Functions |
| [`functions:list`](/docs/commands/functions.md#functionslist) | List functions that exist locally |


**Examples**
Expand Down Expand Up @@ -121,6 +122,31 @@ $ netlify functions:invoke myfunction --querystring "foo=1
$ netlify functions:invoke myfunction --payload "./pathTo.json"
```

---
## `functions:list`

List functions that exist locally

Helpful for making sure that you have formatted your functions correctly

NOT the same as listing the functions that have been deployed. For that info you need to go to your Netlify deploy log.


**Usage**

```bash
netlify functions:list
```

**Flags**

- `name` (*string*) - name to print
- `functions` (*string*) - Specify a functions folder to serve
- `json` (*boolean*) - Output function data as JSON
- `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 -->
1 change: 1 addition & 0 deletions docs/commands/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ Manage netlify functions
| [`functions:build`](/docs/commands/functions.md#functionsbuild) | Build functions locally |
| [`functions:create`](/docs/commands/functions.md#functionscreate) | Create a new function locally |
| [`functions:invoke`](/docs/commands/functions.md#functionsinvoke) | Trigger a function while in netlify dev with simulated data, good for testing function calls including Netlify's Event Triggered Functions |
| [`functions:list`](/docs/commands/functions.md#functionslist) | List functions that exist locally |


### [init](/docs/commands/init.md)
Expand Down
3 changes: 0 additions & 3 deletions src/commands/functions/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,4 @@ FunctionsListCommand.flags = {
...FunctionsListCommand.flags,
}

// TODO make visible once implementation complete
FunctionsListCommand.hidden = true

module.exports = FunctionsListCommand