#!/usr/bin/env node
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const commander_1 = require("commander");
const package_json_1 = require("../package.json");
const docs_pages_1 = require("../src/docs-pages/docs-pages");
const git_commit_msg_hook_1 = require("../src/git-commit-msg-hook/git-commit-msg-hook");
const merge_request_template_1 = require("../src/merge-request-template/merge-request-template");
require('ts-node').register();
// if (!process.env.GITLAB_TOKEN) {
//   program.error(
//     'GITLAB_TOKEN env variable should be defined. You can create a .env file at the root of the project (like .env.sample)',
//   );
// }
commander_1.program.executableDir('../src');
commander_1.program.name('tapcli').version(package_json_1.version);
// .command('docs', 'Utils for projects/repositories', { executableFile: 'docs' });
new docs_pages_1.DocsPages().setup();
new git_commit_msg_hook_1.GitCommitMsgHook().setup();
new merge_request_template_1.MergeRequestTemplate().setup();
commander_1.program.parse(process.argv);
//# sourceMappingURL=tapcli.js.map