Add new command ``` tt doctor```
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 113
- Forks
- 18
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 23
Description
I think we can add new command tt doctor.
It functionality will be similar to brew doctor.
In other words it will check config for existance/ syntax errors. Also check directories(specified in config) for existance/ if we have enough rights to use them/ if they are not specified. Also can check values in config ( if they are reasonable/if they are not specified).
If some issues are faced tt doctor will output a warning or an error and a way to fix it. Fell free to add thoughts about it.
e.g
Warning: The following directories are not writable by your user:
/usr/local/bin
You should change the ownership of these directories to your user.
sudo chown -R $(whoami) /usr/local/bin
And make sure that your user has write permission.
chmod u+w /usr/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
The issue does not name files, tests, or an entry point; start by reviewing the existing tt command structure and configuration handling. Done should include a doctor command that reports actionable warnings or errors for invalid or missing configuration, directory existence and permissions, and unreasonable or unspecified values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100