Skip to content

Commit

Permalink
fix: cli examples & doc
Browse files Browse the repository at this point in the history
  • Loading branch information
deepkolos committed Jun 19, 2021
1 parent 48d0a39 commit 9cdb943
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
持fallback

Examples:
gltf-tc -i ./examples/glb' ./examples/zstd
gltf-tc -i ./examples/glb' ./examples/no-zstd 0
gltf-tc -i ./examples/glb' ./examples/no-mipmap 1 false
gltf-tc -i ./examples/glb' ./examples/no-zstd-no-mipmap 0 false
gltf-tc -i ./examples/glb' ./examples/zstd 1 true "-uastc"
gltf-tc -i ./examples/glb ./examples/zstd
gltf-tc -i ./examples/glb ./examples/no-zstd 0
gltf-tc -i ./examples/glb ./examples/no-mipmap 1 false
gltf-tc -i ./examples/glb ./examples/no-zstd-no-mipmap 0 false
gltf-tc -i ./examples/glb ./examples/zstd 1 true "-uastc"

# 执行
> gltf-tc -i ./examples/glb ./examples/zstd
Expand Down
10 changes: 5 additions & 5 deletions dist/gltf-tc.cli.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions src/main-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ cli
main,
)

.action("gltf-tc -i ./examples/glb' ./examples/zstd", '', 'Examples')
.action("gltf-tc -i ./examples/glb' ./examples/no-zstd 0", '', 'Examples')
.action("gltf-tc -i ./examples/glb' ./examples/no-mipmap 1 false", '', 'Examples')
.action("gltf-tc -i ./examples/glb' ./examples/no-zstd-no-mipmap 0 false", '', 'Examples')
.action("gltf-tc -i ./examples/glb' ./examples/zstd 1 true \"-uastc\"", '', 'Examples')
.action("gltf-tc -i ./examples/glb ./examples/zstd", '', 'Examples')
.action("gltf-tc -i ./examples/glb ./examples/no-zstd 0", '', 'Examples')
.action("gltf-tc -i ./examples/glb ./examples/no-mipmap 1 false", '', 'Examples')
.action("gltf-tc -i ./examples/glb ./examples/no-zstd-no-mipmap 0 false", '', 'Examples')
.action("gltf-tc -i ./examples/glb ./examples/zstd 1 true \"-uastc\"", '', 'Examples')

.run(process.argv.slice(2));

0 comments on commit 9cdb943

Please sign in to comment.