{"size": 376, "ext": "js", "max_stars_repo_path": "src/cli.js", "max_stars_repo_name": "cb1kenobi/axway-repository-cli", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/cli.js", "max_issues_repo_name": "cb1kenobi/axway-repository-cli", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/cli.js", "max_forks_repo_name": "cb1kenobi/axway-repository-cli", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.7894736842, "max_line_length": 64, "alphanum_fraction": 0.664893617}
#!/usr/bin/env node

import { readFileSync } from 'fs';
import { resolve } from 'path';
import CLI from 'cli-kit';

const { version } = JSON.parse(
	readFileSync(resolve(__dirname, '..', 'package.json'), 'utf-8')
);

export default new CLI({
	title: 'Axway Repository CLI',
	commands: `${__dirname}/commands`,
	help: true,
	helpExitCode: 2,
	name: 'repository',
	version,
});
