When running infrahubctl transform without any argument we would get the following output, which was probably not perfect, but at least it gave you a clue of what we would expect.
Unable to find requested transform:
Python transforms defined in repository: 2
OCInterfaces (transforms/openconfig.py::OCInterfaces)
oc_bgp_neighbors (transforms/openconfig.py::OCBGPNeighbors)
Since the release of 1.0.1 we get the following message:
Error: Unable to find '' in 'python_transforms'
Which is more confusing.
Expected Behavior
The output should be explicitly stating that we are expecting an argument.
Maybe print the usage or help of the transform subcommand.
Steps to Reproduce
create a directory
make it a git repository git init
create an empty .infrahub.yml respository configuration file with the following contents
Component
infrahubctl
Infrahub SDK version
1.0.1
Current Behavior
When running
infrahubctl transform
without any argument we would get the following output, which was probably not perfect, but at least it gave you a clue of what we would expect.Since the release of 1.0.1 we get the following message:
Which is more confusing.
Expected Behavior
The output should be explicitly stating that we are expecting an argument. Maybe print the usage or help of the transform subcommand.
Steps to Reproduce
git init
.infrahub.yml
respository configuration file with the following contentsinfrahubctl transform
Additional Information
No response