Skip to content

Commit

Permalink
feat: add flow:fix command
Browse files Browse the repository at this point in the history
  • Loading branch information
junners committed Jan 14, 2025
1 parent ae5b48d commit 47dda84
Show file tree
Hide file tree
Showing 12 changed files with 1,896 additions and 1,321 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ node_modules
coverage/**
.yarn/install-state.gz
oclif.manifest.json
*.log
17 changes: 15 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch via NPM",
"request": "launch",
"runtimeArgs": [
"run",
"test:unit"
],
"runtimeExecutable": "npm",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
},
{
"type": "node",
"request": "attach",
Expand All @@ -28,7 +41,7 @@
"sourceMaps": true,
"smartStep": true,
"internalConsoleOptions": "openOnSessionStart",
"preLaunchTask": "Compile"
"preLaunchTask": "npm: pretest:unit"
},
{
"type": "node",
Expand All @@ -43,7 +56,7 @@
"sourceMaps": true,
"smartStep": true,
"internalConsoleOptions": "openOnSessionStart",
"preLaunchTask": "Compile"
"preLaunchTask": "npm: pretest:unit"
}
]
}
7 changes: 7 additions & 0 deletions messages/fix-command.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"commandDescription":"Fix common problems using lfs core engine. Rule definitions that specifies autoFixable can be executed and fixes may be applied automatically",
"flagsDirsDescription":"Specify one or more Directorie(s) to find flows and fix",
"flagsRulesDescription": "Specify one or more Rule Id(s) to run",
"flagsFilesDescription": "Specify one or more flow File(s) to run",
"errorMutuallyExclusiveRequired": "Specify a directory or a file but not both"
}
Loading

0 comments on commit 47dda84

Please sign in to comment.