clockworklabs / clockworklabs/SpacetimeDB
`spacetime --root-dir` does not work
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 25.2k
- Forks
- 1.1k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 46
Description
Running spacetime with a custom --root-dir gives a cryptic error:
$ spacetime --root-dir ~/.local/bin
Error: a value is required for '--root-dir <root_dir>' but none was supplied
It does work if explicitly passed with =:
spacetime --root-dir=~/.local/bin
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the spacetime CLI entry point and locate the argument definition for --root-dir, then inspect how its value is parsed when supplied as a separate argument. Confirm the current behavior with the command shown in the issue; done means both --root-dir /.local/bin and --root-dir=/.local/bin accept the directory without the cryptic missing-value error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100