jx/README.md

25 lines
653 B
Markdown
Raw Normal View History

2024-03-09 00:12:54 +00:00
# decl
2024-03-27 20:10:32 +00:00
# Purpose
These tools work with YAML descriptions of resources (E.g. files, users, containers, etc) for (de)serializing the state of the given resource. This enables more generically describing the state of a supported resource type, pipeling state transformations and enabling the use of other tools in that process.
2024-03-21 22:28:29 +00:00
# Command-line
2024-03-27 19:25:12 +00:00
# Update Resource state
2024-03-21 22:28:29 +00:00
`cli -resource-file decl-runner.yaml`
2024-03-27 19:25:12 +00:00
# Read resource state
2024-03-27 20:03:28 +00:00
Read the state of an existing resource (URI) and generate a YAML representation of it.
2024-03-26 08:08:59 +00:00
![Import Resource](md-images/import-resource.gif)
2024-03-25 21:57:30 +00:00
# Examples
2024-03-21 22:28:29 +00:00
2024-03-25 21:57:30 +00:00
Resources:
* [file](examples/file.yaml)
* [user](examples/user.yaml)