ts-pkgx
Version:
A library & CLI for managing packages
69 lines • 2.12 kB
TypeScript
/**
* **shfmt** - A shell parser, formatter, and interpreter with bash support; includes shfmt
*
* @domain `mvdan.cc/sh`
* @programs `shfmt`
* @version `3.11.0` (4 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install shfmt`
* @aliases `shfmt`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access via alias (recommended)
* const pkg = pantry.shfmt
* // Or access via domain
* const samePkg = pantry.mvdanccsh
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "sh"
* console.log(pkg.description) // "A shell parser, formatter, and interpreter with..."
* console.log(pkg.programs) // ["shfmt"]
* console.log(pkg.versions[0]) // "3.11.0" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/mvdan-cc/sh.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const shfmtPackage: {
/**
* The display name of this package.
*/
name: 'sh';
/**
* The canonical domain name for this package.
*/
domain: 'mvdan.cc/sh';
/**
* Brief description of what this package does.
*/
description: 'A shell parser, formatter, and interpreter with bash support; includes shfmt';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/mvdan.cc/sh/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install shfmt';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['shfmt'];
companions: readonly [];
dependencies: readonly [];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['3.11.0', '3.10.0', '3.9.0', '3.8.0'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly ['shfmt']
};
export type ShfmtPackage = typeof shfmtPackage