@bitnami/readme-generator-for-helm
Version:
Autogenerate READMEs tables and OpenAPI schemas for Helm Charts
23 lines (16 loc) • 631 B
JavaScript
/*
* Copyright Broadcom, Inc. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
const { program } = require('commander');
const { runReadmeGenerator } = require('../index');
program
.option('-v, --values <path>', 'Path to the values.yaml file')
.option('-r, --readme <path>', 'Path to the README.md file')
.option('-c, --config <path>', 'Path to the config file')
.option('-s, --schema <path>', 'Path for the OpenAPI Schema output file')
.option('--version', 'Show Readme Generator version');
program.parse(process.argv);
const options = program.opts();
runReadmeGenerator(options);