4
42
Fork
You've already forked threadcat
0

CLI should respond to --help #3

Closed
opened 2026年04月14日 14:14:24 +02:00 by singingwolfboy · 1 comment

I'd love to use threadcat, but after I installed it, I tried to run --help to get some information about how to use it, and I got this:

$ threadcat --help
Fetching thread...
thread 'main' (1484731) panicked at /Users/singingwolfboy/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/threadcat-0.1.0/src/mastodon.rs:32:42:
Urls should be valid: RelativeUrlWithoutBase
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I would expect the CLI to display a helpful list of arguments and options when called with --help.

I'd love to use `threadcat`, but after I installed it, I tried to run `--help` to get some information about how to use it, and I got this: ``` $ threadcat --help Fetching thread... thread 'main' (1484731) panicked at /Users/singingwolfboy/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/threadcat-0.1.0/src/mastodon.rs:32:42: Urls should be valid: RelativeUrlWithoutBase note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ``` I would expect the CLI to display a helpful list of arguments and options when called with `--help`.

Good suggestion, thank you! Just added the clap crate to do that.

Good suggestion, thank you! Just added the `clap` crate to do that.
Sign in to join this conversation.
No Branch/Tag specified
main
v0.1.2
v0.1.1
v0.1.0
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
blinry/threadcat#3
Reference in a new issue
blinry/threadcat
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?