ts-pkgx
Version:
A library & CLI for managing packages
76 lines • 2.7 kB
TypeScript
/**
* **cookiecutter** - A cross-platform command-line utility that creates projects from cookiecutters (project templates), e.g. Python package projects, C projects.
*
* @domain `github.com/cookiecutter/cookiecutter`
* @programs `cookiecutter`
* @version `2.6.0` (1 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install cookiecutter`
* @name `cookiecutter`
* @dependencies `pkgx.sh^1`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.cookiecutter
* // Or access via domain
* const samePkg = pantry.githubcomcookiecuttercookiecutter
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "cookiecutter"
* console.log(pkg.description) // "A cross-platform command-line utility that crea..."
* console.log(pkg.programs) // ["cookiecutter"]
* console.log(pkg.versions[0]) // "2.6.0" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/github-com/cookiecutter/cookiecutter.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const cookiecutterPackage: {
/**
* The display name of this package.
*/
name: 'cookiecutter';
/**
* The canonical domain name for this package.
*/
domain: 'github.com/cookiecutter/cookiecutter';
/**
* Brief description of what this package does.
*/
description: 'A cross-platform command-line utility that creates projects from cookiecutters (project templates), e.g. Python package projects, C projects.';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/github.com/cookiecutter/cookiecutter/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install cookiecutter';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['cookiecutter'];
companions: readonly [];
/**
* Required dependencies for this package.
* These will be automatically installed.
*/
dependencies: readonly ['pkgx.sh^1'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['2.6.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) cookiecutter -- $SHELL -i';
launchpadInstallCommand: 'launchpad install cookiecutter'
};
export type CookiecutterPackage = typeof cookiecutterPackage