hatch icon indicating copy to clipboard operation
hatch copied to clipboard

Inconsistent json output of env show command

Open hoesler opened this issue 1 year ago • 1 comments

I identified two inconsistencies when using the --json flag in the hatch env show subcommand:

  1. The json object contains all envs if the envs arg is passed for selecting specific envs.
  2. For matrix envs, the json object contains no explicit information about the matrix an env belongs to (i.e. the matrix name).

I will open a PR to address this issue.

hoesler avatar Mar 06 '24 08:03 hoesler

I'd be happy to discuss further in a PR!

ofek avatar Mar 12 '24 04:03 ofek