github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/site/reference/cli/alpha/wasm/pull/README.md (about) 1 --- 2 title: "`pull`" 3 linkTitle: "pull" 4 type: docs 5 description: > 6 Pull WASM modules. 7 --- 8 9 <!--mdtogo:Short 10 Fetch and decompress OCI image to WASM module. 11 --> 12 13 `pull` fetches and decompressed OCI image to WASM module. 14 15 ### Synopsis 16 17 <!--mdtogo:Long--> 18 19 ``` 20 kpt alpha wasm pull [IMAGE] [LOCAL_PATH] 21 ``` 22 23 #### Args 24 25 ``` 26 IMAGE: 27 The name of an image. It can be either a tag or a digest. 28 LOCAL_PATH: 29 The desired path for the wasm file. e.g. /tmp/my-fn.wasm 30 ``` 31 32 <!--mdtogo--> 33 34 ### Examples 35 36 <!--mdtogo:Examples--> 37 38 ```shell 39 # pull image gcr.io/my-org/my-fn:v1.0.0 and decompress it to ./my-fn.wasm 40 $ kpt alpha wasm pull gcr.io/my-org/my-fn:v1.0.0 ./my-fn.wasm 41 ``` 42 43 <!--mdtogo-->