Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts list #1035

Open
andgineer opened this issue Nov 7, 2023 · 2 comments
Open

scripts list #1035

andgineer opened this issue Nov 7, 2023 · 2 comments

Comments

@andgineer
Copy link

andgineer commented Nov 7, 2023

hatch should show list of scripts with their descriptions.

Without that we have to describe the scripts in some other place like readme and list the scripts there.

So we need some way to add description to the script and show it in --help or special hatch command.
May be like optional inline table:

[tool.hatch.envs.default.scripts]
test = "pytest {args:tests}"
cov = {description = "coverage" command = "coverage"}
@ofek
Copy link
Sponsor Collaborator

ofek commented Nov 7, 2023

#995 (comment)

@ofek
Copy link
Sponsor Collaborator

ofek commented Nov 13, 2023

Does that suffice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants