{"id":13541171,"url":"https://github.com/pdenapo/nu_plugin_dpkgtable","last_synced_at":"2025-04-02T08:30:58.715Z","repository":{"id":222214614,"uuid":"752783323","full_name":"pdenapo/nu_plugin_dpkgtable","owner":"pdenapo","description":"dpkg plugin for Nushell","archived":false,"fork":false,"pushed_at":"2024-03-06T11:38:18.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-21T16:11:50.256Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pdenapo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-04T19:40:28.000Z","updated_at":"2024-06-01T21:00:29.041Z","dependencies_parsed_at":null,"dependency_job_id":"ee1d6611-e2d4-45fc-bcfa-326a4f1b270f","html_url":"https://github.com/pdenapo/nu_plugin_dpkgtable","commit_stats":null,"previous_names":["pdenapo/nu_plugin_dpkgtable"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdenapo%2Fnu_plugin_dpkgtable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdenapo%2Fnu_plugin_dpkgtable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdenapo%2Fnu_plugin_dpkgtable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdenapo%2Fnu_plugin_dpkgtable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pdenapo","download_url":"https://codeload.github.com/pdenapo/nu_plugin_dpkgtable/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246781935,"owners_count":20832936,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T10:00:40.081Z","updated_at":"2025-04-02T08:30:58.116Z","avatar_url":"https://github.com/pdenapo.png","language":"Rust","funding_links":[],"categories":["Plugins"],"sub_categories":[],"readme":"# dpkgtable plugin for Nu shell\n\ndpkg is the main low-level tool for managing packages in a GNU/Linux Debian system.\n\nThis a plugin for nushell that captures the output of dpkg --list (list of known packages) into a table.\n\n    ~\u003e dpkgtable | where name == \"git\"\n    ╭───┬────────┬──────┬──────────────┬──────────────┬─────────────────────────────────────────────────────╮\n    │ # │ status │ name │   version    │ architecture │                     description                     │\n    ├───┼────────┼──────┼──────────────┼──────────────┼─────────────────────────────────────────────────────┤\n    │ 0 │ ii     │ git  │ 1:2.39.2-1.1 │ amd64        │ fast, scalable, distributed revision control system │\n    ╰───┴────────┴──────┴──────────────┴──────────────┴─────────────────────────────────────────────────────╯\n\nYou can capture the oputput something like\n\n    let packages = ( dpkgtable )\n\nand then you can do something like\n\n    $packages | where name =~ git\n\nor\n\n    dpkg --remove $packages.5.name\n\nto remove the package #5 in the list (if running as root).\n\n## Instalation\n\nAfter building the plug-in (with cargo build), register it with nushell (from the nushell prompt) with\nthe register command. \n\nFor instance:\n\n    register ./nu_plugin_dpkg/target/debug/nu_plugin_dpkgtable\n\n\n    \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdenapo%2Fnu_plugin_dpkgtable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpdenapo%2Fnu_plugin_dpkgtable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdenapo%2Fnu_plugin_dpkgtable/lists"}