You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command would simply write to a file. This can be useful for creating files without source templates, however the main idea is to allow the command to write to specific parts of a file, if they are for example json or yaml files.
# create a filewrite: some stuffto: myfile.txt
# add a dependencywrite: '^6.1.0'to: package.jsonat: 'devDependencies/@typescript-eslint~1eslint-plugin'
# add a workflow stepwrite: | - name: check code style run: npm run lintto: .github/workflows/publish.ymlafter: jobs/run/steps/4
JSON Pointer format is used here. I suspect json-source-map and mapped-yaml (or equivalent libraries) can be used to precisely alter some JSON or YAML file while maintaining its formatting as much as possible.
The text was updated successfully, but these errors were encountered:
base command added via 8ce8644. additional proposals (filtering and JSON / YAML support) should be tracked in separate issues (as they also involve multiple commands).
The command would simply write to a file. This can be useful for creating files without source templates, however the main idea is to allow the command to write to specific parts of a file, if they are for example
json
oryaml
files.JSON Pointer format is used here. I suspect json-source-map and mapped-yaml (or equivalent libraries) can be used to precisely alter some JSON or YAML file while maintaining its formatting as much as possible.
The text was updated successfully, but these errors were encountered: