0.5.3 • Published 9 months ago

@kubeframe/cli v0.5.3

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

KubeFrame-CLI

KubeFrame-CLI is a tool for generating Typescript classes and interfaces from Kubernetes OpenAPI specs and CRDs.

Installation and Usage

Prerequisites

  • Node.js 22.11 or later
  • Docker - Used for running the OpenAPI generator
  • Git - Used for fetching the OpenAPI specs from the Kubernetes repository

Usage

Create a new project

# npx @kubeframe/cli create-project <project-name> --version=<k8s-version> 
npx @kubeframe/cli create-project my-project --version=1.32

Generate Kubernetes classes and interfaces

  • - Kubernetes version without patch version (e.g. 1.31)
# kubeframe-cli generate-k8s <version> --output=<output-dir>
kubeframe-cli generate-k8s 1.31 --output=<output-dir>

Generate CRD classes and interfaces

From a local file
From a URL
From a config file
0.5.3

9 months ago

0.5.2

9 months ago

0.5.1

9 months ago

0.5.0

9 months ago

0.4.5

9 months ago

0.4.4

9 months ago

0.4.3

10 months ago

0.4.1

10 months ago

0.4.0

10 months ago

0.3.3

10 months ago

0.3.2

10 months ago

0.3.1

10 months ago

0.3.0

10 months ago

0.2.1

10 months ago

0.2.0

10 months ago

0.1.8

10 months ago

0.1.7

10 months ago

0.1.6

10 months ago

0.1.5

10 months ago