Skip to content

Commit c3a4aa9

Browse files
authored
chore: update wws --help output on the main documentation page (#241)
1 parent f40e7da commit c3a4aa9

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

docs/src/pages/index.js

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,31 @@ export default function Home() {
4242
<pre className={styles.codeHero}>
4343
<code>{`$ curl -fsSL https://workers.wasmlabs.dev/install | bash
4444
$ wws --help
45+
A WebAssembly framework to develop and run serverless applications anywhere
46+
4547
Usage: wws [OPTIONS] [PATH] [COMMAND]
4648
4749
Commands:
4850
runtimes Manage the language runtimes in your project
4951
help Print this message or the help of the given subcommand(s)
5052
5153
Arguments:
52-
[PATH] Folder to read WebAssembly modules from [default: .]
54+
[PATH] Location of the wws project. It could be a local folder or a git repository [default: .]
5355
5456
Options:
55-
--host <HOSTNAME> Hostname to initiate the server [default: 127.0.0.1]
56-
-p, --port <PORT> Port to initiate the server [default: 8080]
57-
--prefix <PREFIX> Prepend the given path to all URLs [default: ]
58-
-h, --help Print help information
59-
-V, --version Print version information`}</code></pre>
57+
--host <HOSTNAME> Hostname to initiate the server [default: 127.0.0.1]
58+
-p, --port <PORT> Port to initiate the server [default: 8080]
59+
--prefix <PREFIX> Prepend the given path to all URLs [default: ]
60+
--ignore <IGNORE> Patterns to ignore when looking for worker files [default: ]
61+
-i, --install-runtimes Install missing runtimes automatically
62+
--git-commit <GIT_COMMIT> Set the commit when using a git repository as project
63+
--git-tag <GIT_TAG> Set the tag when using a git repository as project
64+
--git-branch <GIT_BRANCH> Set the branch when using a git repository as project
65+
--git-folder <GIT_FOLDER> Change the directory when using a git repository as project
66+
--enable-panel Enable the administration panel
67+
--cors <CORS> CORS headers to add to all workers if not already set by the worker
68+
-h, --help Print help
69+
-V, --version Print version`}</code></pre>
6070
</main>
6171
</Layout>
6272
);

0 commit comments

Comments
 (0)