dynamic-doctor
Advanced tools
Comparing version 0.1.0-beta.1 to 0.1.0-beta.2
@@ -1027,2 +1027,9 @@ #! /usr/bin/env node | ||
}; | ||
const treeCommand = () => { | ||
const command = new commander.Command('tree'); | ||
command.argument('[path]', 'Path of the project using Dynamic SDK (defaults to current directory)'); | ||
command.action((path) => console.log(JSON.stringify(buildModuleTree(path, path), null, 2))); | ||
command.enablePositionalOptions(); | ||
return command; | ||
}; | ||
@@ -1037,2 +1044,3 @@ class DynamicCLI { | ||
this.program.addCommand(sanityCommand()); | ||
this.program.addCommand(treeCommand()); | ||
} | ||
@@ -1039,0 +1047,0 @@ run() { |
import { Command } from 'commander'; | ||
export declare const sanityCommand: () => Command; | ||
export declare const treeCommand: () => Command; |
@@ -12,3 +12,3 @@ { | ||
}, | ||
"version": "0.1.0-beta.1", | ||
"version": "0.1.0-beta.2", | ||
"license": "MIT", | ||
@@ -15,0 +15,0 @@ "bin": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1763343
45187