update example
diff --git a/README.md b/README.md
index 0244f52..50258ea 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@
func main() {
workingDir := "/path/to/working/dir"
- tf, err := tfexec.NewTerraform(workingDir)
+ tf, err := tfexec.NewTerraform(workingDir, "")
if err != nil {
panic(err)
}
@@ -37,18 +37,3 @@
fmt.Println(state.FormatVersion) // "0.1"
)
```
-
-
-### `(tf *Terraform) Init(opts ...InitOpts) (*tfjson.State, error)`
-
-Runs `terraform init`.
-
-### `(tf *Terraform) Show(opts ...ShowOpts) (*tfjson.State, error)`
-
-Returns the output of `terraform show -json`, represented as `tfjson.State`.
-
-### `exec.Cmd` functions
-
-#### `InitCmd(workingDir string, args ...string) exec.Cmd`
-
-#### `ShowCmd(workingDir string, args ...string) exec.Cmd`