-
Notifications
You must be signed in to change notification settings - Fork 23
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
Standardized Output for file write #560
Comments
#620 makes an opinionated approach to write |
Do we have any examples we can point to for these patterns? Tooling that takes a similar stance? 1 - default to current-working-directory What workflows might we need to consider?
Addition of an |
I think with the OSCAL models in particular, it makes sense to co-locate the derived model files (e.g., On the aspect of validating remote files - is that something we are looking to support? I don't believe we do currently, and I suppose if we would, then that would probably be a default to CWD because I don't really know what the alternative there would be.
That's a good question, and honestly all the tools that I can think of that generate files from a CLI generally default to CWD - I mean if you want to consider like Anyway my 2cents, I'm obviously pro-co-location but if it's some kind of anti-pattern happy to modify |
Remote validations is something I would like to support but very much a vague vision - so lets not use that as a data point. Otherwise I generally agree - we'll be working towards a vision of wholistic context where we want the links between files (and the use of |
Describe what should be investigated or refactored
There are a couple disparate writing processes for Lula that we should consolidate into a common approach.
Compose:
-o
flag will write a defaultcomponent-composed.yaml
to the same location as the non-composed file-o
flag will write file topwd
as a base for where to write the fileValidate/generate/evaluate/etc:
-o
flag will write a defaultassessment-results
file topwd
-o
flag will write file topwd
as a base for where to write the fileObjective is to standardize the process.
The text was updated successfully, but these errors were encountered: