ts-pkgx
Version:
A library & CLI for managing packages
75 lines • 2.13 kB
TypeScript
/**
* **grep** - pkgx package
*
* @domain `gnu.org/grep`
* @programs `grep`
* @version `3.12.0` (3 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install grep`
* @name `grep`
* @dependencies `pcre.org/v2`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.grep
* // Or access via domain
* const samePkg = pantry.gnuorggrep
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "grep"
* console.log(pkg.programs) // ["grep"]
* console.log(pkg.versions[0]) // "3.12.0" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/gnu-org/grep.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const grepPackage: {
/**
* The display name of this package.
*/
name: 'grep';
/**
* The canonical domain name for this package.
*/
domain: 'gnu.org/grep';
/**
* Brief description of what this package does.
*/
description: '';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/gnu.org/grep/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install grep';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['grep'];
companions: readonly [];
/**
* Required dependencies for this package.
* These will be automatically installed.
*/
dependencies: readonly ['pcre.org/v2'];
/**
* 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.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) grep -- $SHELL -i';
launchpadInstallCommand: 'launchpad install grep'
};
export type GrepPackage = typeof grepPackage