Skip to content

Commit 904d6df

Browse files
committed
chore: update readme
Signed-off-by: Christian Stewart <christian@aperture.us>
1 parent 439c45a commit 904d6df

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ It's currently an experimental project, and not ready for production.
3636
Compile a package using the CLI tool:
3737

3838
```bash
39-
goscript compile --package <go_package_path> --gopath <path_to_gopath> --output <output_directory>
39+
goscript compile \
40+
--package "my/package" \
41+
--output ./output
4042
```
4143

4244
For example, to compile the simple example:
@@ -92,7 +94,7 @@ func main() {
9294

9395
```
9496

95-
This example initializes the compiler with basic configuration, creates a compiler instance, and then calls `CompilePackages` to translate the specified Go package into TypeScript files within the designated output directory.
97+
This example initializes the compiler, creates a compiler instance, and then calls `CompilePackages` to translate the specified Go package into TypeScript files in the output directory.
9698

9799
## Roadmap
98100

0 commit comments

Comments
 (0)