Skip to content

Commit

Permalink
scripts: udate rimpl poc docs.
Browse files Browse the repository at this point in the history
 - fixes #97
  • Loading branch information
narekhovhannisyan committed Aug 30, 2023
1 parent 6a6ba87 commit 0899fc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/rimpl-poc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import {parseProcessArgument} from '../src/util/args';
import {openYamlFileAsObject, saveYamlFileAs} from '../src/util/yaml';

/**
* 1. Parses process argument.
* 1. Parses yml input/output process arguments.
* 2. Opens yaml file as an object.
* 3. Saves processed object as an yaml file.
* @todo Apply logic here.
* @example run following command `npx ts-node scripts/rimpl-poc.ts --impl ./test.yml --ompl ./result.yml`
*/
const rimplPOCScript = async () => {
try {
const {inputPath, outputPath} = parseProcessArgument();

const impl = await openYamlFileAsObject(inputPath);

if (!outputPath) {
Expand Down

0 comments on commit 0899fc1

Please sign in to comment.