archway-network / archway-network/cli

Cargo workspaces error verbosity

Open
#318 0 comments 0 reactions 0 assignees View on GitHub
cli improvement
Dominant language
TypeScript
Stars
42
Forks
19
PR merge metrics
No merged PRs in 30d

Description

When attempting to run any `archway contracts` command outside of an unsupported project structure it returns `no such file or directory, open `. After asking around it seemed to be expecting a workspace toml.

I think these types of errors should be more verbose so the user has a better clue of what they might be doing wrong.

Contributor guide

No contributing guide indexed for this repository

Research direction

Run an `archway contracts` command outside a supported project structure and trace where the missing Cargo.toml error is produced. Improve the error so it explains the expected workspace structure and likely user mistake, then verify the command no longer reports only `no such file or directory`.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, typescript
Domain
cli, developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.