Files
pnpm/pacquet/crates/cli/src/cli_args.rs
Alessio Attilio ddbb4899c2 feat(pacquet): implement bugs command (#12687)
Port the `pnpm bugs` command to pacquet, following the structure of the TypeScript handler at `pnpm11/deps/inspection/commands/src/bugs/index.ts` and matching its error codes (`ERR_PNPM_NO_BUGS_URL`, `ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND`). The command supports local manifest lookup and registry lookup by package name, with repository URL normalization for GitHub/GitLab/Bitbucket shorthand, hosted git URLs, and self-hosted git servers. Unit tests cover all URL derivation branches (36 tests). Integration tests cover the CLI entry points with local manifests and a mocked registry (9 tests).

Related to pnpm/pnpm#11633.
2026-07-01 18:09:02 +02:00

73 lines
1.2 KiB
Rust

pub mod add;
pub mod approve_builds;
pub mod audit;
pub mod bin;
pub mod bugs;
pub mod cache;
pub mod cat_file;
pub mod cat_index;
pub mod completion;
pub mod config;
pub mod create;
pub mod dedupe;
pub mod deploy;
pub mod dist_tag;
pub mod dlx;
pub mod docs;
pub mod exec;
pub mod fetch;
pub mod find_hash;
pub mod global;
pub mod ignored_builds;
pub mod import;
pub mod install;
pub mod link;
pub mod list;
pub mod logout;
pub mod outdated;
pub mod pack;
pub mod pack_app;
pub mod patch;
pub mod patch_commit;
pub mod patch_remove;
pub(crate) mod patch_state;
pub mod ping;
pub mod prune;
pub mod rebuild;
pub mod recursive;
pub mod registry_client;
pub mod remove;
pub mod repo;
pub mod restart;
pub mod root;
pub mod run;
pub mod runtime;
pub mod sanitize;
pub mod self_update;
pub mod set_script;
pub mod setup;
pub mod stop;
pub mod store;
pub mod supported_architectures;
pub mod unlink;
pub mod update;
pub mod update_interactive;
pub mod whoami;
pub mod why;
pub mod with;
mod cli_command;
mod dispatch;
mod dispatch_install;
mod dispatch_query;
mod dispatch_script;
mod package_manager;
mod pipelines;
mod reporter;
pub(crate) use cli_command::CliArgs;
#[cfg(test)]
mod tests;