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

Add an info subcommand #56

Open
ncoghlan opened this issue Oct 30, 2024 · 1 comment
Open

Add an info subcommand #56

ncoghlan opened this issue Oct 30, 2024 · 1 comment
Labels
Affects: Command Line Affects the command line interface Affects: Python API Affects the public Python API of the project Category: Enhancement New feature or request good first issue Good for newcomers

Comments

@ncoghlan
Copy link
Collaborator

Inspired by pdm info,
it would be useful to have a venvstacks info subcommand that reported:

  • venvstacks, uv, and pbs-installer versions (just uv if Investigate dropping runtime PDM dependency #11 is implemented)
  • location of venvstacks.toml
  • default location of various folders (build, artifact output & metadata, export output & metadata)

And a --stacks option that dumped the layer information read from the stack specification and the environment lock files (essentially the same metadata that would be emitted for exported environments, but account for the fact the environments may not have been locked yet).

@ncoghlan ncoghlan added Category: Enhancement New feature or request Affects: Python API Affects the public Python API of the project Affects: Command Line Affects the command line interface good first issue Good for newcomers labels Oct 30, 2024
@Rugz007
Copy link

Rugz007 commented Dec 4, 2024

In this info command implementation, is it expected to save the last venvstacks.toml file path used by the user in the memory so that when the info command is used, it displays the last used file path?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Affects: Command Line Affects the command line interface Affects: Python API Affects the public Python API of the project Category: Enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants