ts-pkgx
Version:
A library & CLI for managing packages
74 lines • 2.35 kB
TypeScript
/**
* **kube** - Tool that can switch between kubectl contexts easily and create aliases
*
* @domain `kubectx.dev`
* @programs `kubectx`, `kubens`
* @version `0.9.5` (2 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install +kubectx.dev -- $SHELL -i`
* @aliases `kube`
* @dependencies `github.com/junegunn/fzf`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access via alias (recommended)
* const pkg = pantry.kube
* // Or access via domain
* const samePkg = pantry.kubectxdev
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "kubectx.dev"
* console.log(pkg.description) // "Tool that can switch between kubectl contexts e..."
* console.log(pkg.programs) // ["kubectx", "kubens"]
* console.log(pkg.versions[0]) // "0.9.5" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/kubectx-dev.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const kubePackage: {
/**
* The display name of this package.
*/
name: 'kubectx.dev';
/**
* The canonical domain name for this package.
*/
domain: 'kubectx.dev';
/**
* Brief description of what this package does.
*/
description: 'Tool that can switch between kubectl contexts easily and create aliases';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/kubectx.dev/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/ahmetb/kubectx';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install +kubectx.dev -- $SHELL -i';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['kubectx', 'kubens'];
companions: readonly [];
/**
* Required dependencies for this package.
* These will be automatically installed.
*/
dependencies: readonly ['github.com/junegunn/fzf'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['0.9.5', '0.9.4'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly ['kube']
};
export type KubePackage = typeof kubePackage