ts-pkgx
Version:
A library & CLI for managing packages
71 lines • 2.24 kB
TypeScript
/**
* **shfmt** - A shell parser, formatter, and interpreter with bash support; includes shfmt
*
* @domain `mvdan.cc/sh`
* @programs `shfmt`
* @version `3.12.0` (5 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install shfmt`
* @name `shfmt`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.shfmt
* // Or access via domain
* const samePkg = pantry.mvdanccsh
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "shfmt"
* console.log(pkg.description) // "A shell parser, formatter, and interpreter with..."
* console.log(pkg.programs) // ["shfmt"]
* console.log(pkg.versions[0]) // "3.12.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: 'shfmt';
/**
* 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.12.0', '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 [];
pkgxInstallCommand: 'sh <(curl https://pkgx.sh) shfmt -- $SHELL -i';
launchpadInstallCommand: 'launchpad install shfmt'
};
export type ShfmtPackage = typeof shfmtPackage