Skip to content

Commit

Permalink
view-api: update now that it works
Browse files Browse the repository at this point in the history
  • Loading branch information
nick1udwig committed Jun 11, 2024
1 parent 9eed9a9 commit 10f3677
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/kit/view-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ lists all the APIs of packages downloaded by the Kinode running at port 8080.

```
# Fetch and display the API for the given package
kit view-api app_store:sys-v0
kit view-api app_store:sys
```

## Discussion

Currently broken!
TODO: fix & document
Packages have the option to [expose their API using a WIT file](../process/wit-apis.md).
When a package is distributed, its API is posted by the distributor along with the package itself.
Downloading the package also downloads the API.

## Arguments

Expand Down

0 comments on commit 10f3677

Please sign in to comment.