Skip to content

Commit

Permalink
improve help message (v0.1.17)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeOShannessy committed Aug 8, 2024
1 parent f7678e0 commit 77a29d7
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 26 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@smoke-cloud/fds-inspect-cli",
"version": "0.1.16",
"version": "0.1.17",
"exports": "./main.ts",
"tasks": {
"dev": "deno run --watch main.ts"
Expand Down
27 changes: 16 additions & 11 deletions deno.lock

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

20 changes: 6 additions & 14 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,13 @@ import "./plot.ts";
import { plotHRRDV } from "./plot.ts";

await new Command()
.name("tway-server-manager")
.description("A simple reverse proxy example cli.")
.version("v1.0.0")
// .option("-p, --port <port:number>", "The port number for the local server.", {
// default: 8080,
// })
// .option("--host <hostname>", "The host name for the local server.", {
// default: "localhost",
// })
// .arguments("[domain]")
// .action(() => console.log("Main command called."))
// Child command 1.
.name("fds-inspect")
.description("Commands for inpsecting an FDS input file.")
.version("v0.1.16")
.action(function() {
this.showHelp();
})
.command("count-cells", "Count the total number of cells")
// .option("-f, --foo", "Foo option.")
.arguments("<input-path:string>")
.action(async () => {
// const fdsData = await getJsonTemp(args[0]);
Expand All @@ -29,7 +22,6 @@ await new Command()
})
// Get Threadway Send
.command("meshes", "Display information on each mesh")
// .option("--master", "Pull the master branch version.")
.arguments("<input-path:string>")
.action(async () => {
// const fdsFile = await getJson(args[0]);
Expand Down

0 comments on commit 77a29d7

Please sign in to comment.