ts-pkgx
Version:
A library & CLI for managing packages
75 lines • 2.45 kB
TypeScript
/**
* **rustup** - The Rust toolchain installer
*
* @domain `rust-lang.org/rustup`
* @programs `rustup`, `rustup-init`
* @version `1.28.2` (5 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install +rust-lang.org/rustup -- $SHELL -i`
* @name `rustup`
* @dependencies `linux:curl.se` (includes OS-specific dependencies with `os:package` format)
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.rustup
* // Or access via domain
* const samePkg = pantry.rustlangorgrustup
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "rustup"
* console.log(pkg.description) // "The Rust toolchain installer"
* console.log(pkg.programs) // ["rustup", "rustup-init"]
* console.log(pkg.versions[0]) // "1.28.2" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/rust-lang-org/rustup.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const rustupPackage: {
/**
* The display name of this package.
*/
name: 'rustup';
/**
* The canonical domain name for this package.
*/
domain: 'rust-lang.org/rustup';
/**
* Brief description of what this package does.
*/
description: 'The Rust toolchain installer';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/rust-lang.org/rustup/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install +rust-lang.org/rustup -- $SHELL -i';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['rustup', 'rustup-init'];
companions: readonly [];
/**
* Required dependencies for this package.
* These will be automatically installed.
* OS-specific dependencies are prefixed with `os:` (e.g., `linux:freetype.org`).
*/
dependencies: readonly ['linux:curl.se'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['1.28.2', '1.28.1', '1.28.0', '1.27.1', '1.27.0'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly []
};
export type RustupPackage = typeof rustupPackage