Skip to content

Commit 5485342

Browse files
committed
Refine func init and func pack command descriptions for clarity and consistency
1 parent 4223709 commit 5485342

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

articles/azure-functions/functions-core-tools-reference.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ func init [<PROJECT_FOLDER>]
3838

3939
When you supply `<PROJECT_FOLDER>`, the project is created in a new folder with this name. Otherwise, the current folder is used.
4040

41-
In the preceding command, replace `<PROJECT_FOLDER>` with your project folder name.
42-
4341
The `func init` command supports these options, which aren't supported in version 1.x, unless otherwise noted:
4442

4543
| Option | Description |
@@ -122,7 +120,7 @@ Creates a deployment package that contains your project code in a runnable state
122120
func pack [<FOLDER_PATH>]
123121
```
124122

125-
By default, `func pack` packages the current directory, and the output .zip file has the same name as the root folder of your project. Run `func pack` in the directory that contains your *host.json* project file. If you need to run `func pack` in another directory, set the path to the project root after the command, like `func pack ./myprojectroot`. If the specific .zip file already exists, it's first deleted and then replaced with an updated version.
123+
By default, `func pack` packages the current directory, and the output .zip file has the same name as the root folder of your project. Run `func pack` in the directory that contains your *host.json* project file. If you need to run `func pack` in another directory, set `<FOLDER_PATH>` as the path to the project root, like `func pack ./myprojectroot`. If the specific .zip file already exists, it's first deleted and then replaced with an updated version.
126124

127125
The `func pack` command supports these options:
128126

@@ -215,7 +213,14 @@ In version 1.x, also use the [`func run`](#func-run) command to run a specific f
215213

216214
---
217215

218-
## `func azure functionapp` global options
216+
## `func azure functionapp`
217+
218+
The `func azure functionapp` context contains the following commands:
219+
220+
+ [`func azure functionapp fetch-app-settings`](#func-azure-functionapp-fetch-app-settings)
221+
+ [`func azure functionapp list-functions`](#func-azure-functionapp-list-functions)
222+
+ [`func azure functionapp logstream`](#func-azure-functionapp-logstream)
223+
+ [`func azure functionapp publish`](#func-azure-functionapp-publish)
219224

220225
All `func azure functionapp` commands support these options:
221226

@@ -283,7 +288,7 @@ For more information, see [Deploy project files](functions-run-local.md#project-
283288

284289
The following publishing options apply, based on version:
285290

286-
# [v2.x+](#tab/v2)
291+
### [v2.x+](#tab/v2)
287292

288293
| Option | Description |
289294
| ------------ | -------------------------------------- |
@@ -303,7 +308,7 @@ The following publishing options apply, based on version:
303308
| **`--publish-settings-only`**, **`-o`** | Publishes only settings and skips the content. Default is prompt. |
304309
| **`--show-keys`** | Adds function keys to the URLs displayed in the logs. |
305310

306-
# [v1.x](#tab/v1)
311+
### [v1.x](#tab/v1)
307312

308313
| Option | Description |
309314
| ------------ | -------------------------------------- |

0 commit comments

Comments
 (0)