def _initconfig_parser()

in hpcpack-autoscaler/src/cyclecloud-hpcpack/cli.py [0:0]


    def _initconfig_parser(self, parser: ArgumentParser) -> None:


        parser.add_argument(
            "--disable-autostart",
            required=False,
            action="store_false",
            default=True,
            dest="autoscale__start_enabled",
            help="Disable autoscaling"
        )

        parser.add_argument(
            "--vm_retention_days", default=7, type=int, dest="autoscale__vm_retention_days"
        )

        parser.add_argument(
            "--statefile", default="C:\\cycle\\jetpack\\config\\autoscaler_state.txt"
        )

        parser.add_argument(
            "--archivefile", default="C:\\cycle\\jetpack\\config\\autoscaler_archive.txt"
        )

        parser.add_argument(
            "--hpcpack-pem", default="C:\\cycle\\jetpack\\config\\hpc-comm.pem", dest="hpcpack__pem"
        )

        parser.add_argument(
            "--hn-hostname", default="localhost", dest="hpcpack__hn_hostname"
        )