cargo vdev build component-docs
should require argument and more helpful message printed in misuse
#16980
Labels
domain: ci
Anything related to Vector's CI environment
domain: vdev
Anything related to the vdev tooling
type: bug
A code related bug.
Problem
The underlying ruby script running when calling
cargo vdev build component-docs
requiresARGV[0]
to be the file path of the configuration schema:Currently we do not require any arguments when running this so the user must know before hand to pass in the file path. To prevent confusion we should add a required field, not utilize the
script_wrapper
macro, and provide a more helpful message than:notice extract-component-schema.rb might confuse users since that is invoked when running cargo vdev buidl component-docs
Configuration
No response
Version
0.29.0
Debug Output
No response
Example Data
No response
Additional Context
No response
References
No response
The text was updated successfully, but these errors were encountered: