diff --git a/src/cli.ts b/src/cli.ts
index 5182c9b8..a30d609e 100644
--- a/src/cli.ts
+++ b/src/cli.ts
@@ -12,7 +12,7 @@
* You should have received a copy of the GNU General Public License along with
* this program. If not, see .
*/
-import * as commander from 'commander';
+import {Command} from 'commander';
import {existsSync, readFileSync, writeFileSync} from 'fs';
import {resolve} from 'path';
import {cwd} from 'process';
@@ -35,12 +35,17 @@ import {
// current working directory
const currentWorkingDirectory = cwd();
+// instantiate new commander
+const commander = new Command('openstapps-configuration');
+
// configure commander
commander
.version(JSON.parse(
readFileSync(resolve(__dirname, '..', 'package.json'))
.toString(),
- ).version)
+ ).version);
+
+commander
.option('-p, --path ', `Path of project to add files to (${currentWorkingDirectory})`, currentWorkingDirectory)
.option('-r, --replace', 'Whether to replace existing files or not', false)
.parse(process.argv);
diff --git a/tsconfig.json b/tsconfig.json
index 4a205eb6..60e931ea 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -3,6 +3,7 @@
"alwaysStrict": true,
"charset": "utf8",
"declaration": true,
+ "esModuleInterop": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"inlineSourceMap": true,