From 8928e7f6d3500456e80754a1b69ea8de8e9c967c Mon Sep 17 00:00:00 2001 From: Stoo Johnston Date: Mon, 15 Jul 2024 21:04:18 +0200 Subject: [PATCH] fix(docs): Update README to include implemented `update` command (#492) The README points to https://github.com/pulumi/pulumi-command/issues/20 and says `Update` isn't implemented. [Diff](https://github.com/pulumi/pulumi-command/issues/433) and [Read](https://github.com/pulumi/pulumi-command/issues/432) are still not done, but [Update is implemented](https://github.com/pulumi/pulumi-command/blob/e7e39fd913708c3e5255d8399c87a736553fec43/sdk/python/pulumi_command/remote/command.py#L196) The example code could be updated (hah!) to include an `update` (maybe with Luke's `color`/`description` example), but this PR just removes information that misled me. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ae9ead01..15511761 100644 --- a/README.md +++ b/README.md @@ -189,7 +189,7 @@ export const output = rand.stdout; ### Using `local.Command `with CURL to manage external REST API -This example uses `local.Command` to create a simple resource provider for managing GitHub labels, by invoking `curl` commands on `create` and `delete` commands against the GitHub REST API. A similar approach could be applied to build other simple providers against any REST API directly from within Pulumi programs in any language. This approach is somewhat limited by the fact that `local.Command` does not yet support `diff`/`update`/`read`. Support for those may be [added in the future](https://github.com/pulumi/pulumi-command/issues/20). +This example uses `local.Command` to create a simple resource provider for managing GitHub labels, by invoking `curl` commands on `create` and `delete` commands against the GitHub REST API. A similar approach could be applied to build other simple providers against any REST API directly from within Pulumi programs in any language. This approach is somewhat limited by the fact that `local.Command` does not yet support `diff`/`read`. Support for [Read](https://github.com/pulumi/pulumi-command/issues/432) and [Diff](https://github.com/pulumi/pulumi-command/issues/433) may be added in the future. This example also shows how `local.Command` can be used as an implementation detail inside a nicer abstraction, like the `GitHubLabel` component defined below.