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
3 changes: 3 additions & 0 deletions src/frontend/.starlight-icons/safelist.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@
"i-material-icon-theme:folder-src-open",
"i-material-icon-theme:folder-template",
"i-material-icon-theme:folder-template-open",
"i-material-icon-theme:folder-vscode",
"i-material-icon-theme:folder-vscode-open",
"i-material-icon-theme:git",
"i-material-icon-theme:go",
"i-material-icon-theme:go-mod",
"i-material-icon-theme:gradle",
"i-material-icon-theme:html",
"i-material-icon-theme:http",
Expand Down
4 changes: 4 additions & 0 deletions src/frontend/src/content/docs/app-host/go-apphost.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@ The SDK regenerates when:
The starter's `.gitignore` already lists `.aspire/`. The directory holds generated files that the CLI recreates from `aspire.config.json`, so keep it out of source control.
:::

### Documentation in the SDK

The generated `aspire.go` includes godoc comments, so `go doc` and editor hover (gopls) show each API's summary, parameters, and return value. Obsolete APIs carry a `Deprecated:` notice that gopls and staticcheck flag, and experimental APIs are marked with an **Experimental** heading.

### Restore the SDK

Run `aspire restore` to regenerate the SDK without starting the AppHost:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,7 @@ The destroy command requires --yes when the --non-interactive option is specifie

### Unknown arguments

`aspire destroy` rejects unrecognized options and positional arguments before it discovers or starts the AppHost, so a mistyped option can't silently run the destroy pipeline. The command exits with code `1`:

```bash title="Aspire CLI"
aspire destroy --force
```
`aspire destroy` rejects unrecognized options and positional arguments before it discovers or starts the AppHost, so a mistyped option can't silently run the destroy pipeline. For example, passing `--force`, which isn't an `aspire destroy` option, exits with code `1` and reports:

```text title="Output"
Unrecognized command or argument '--force'.
Expand Down
Loading