{"id":15850,"date":"2024-01-17T23:05:20","date_gmt":"2024-01-17T19:35:20","guid":{"rendered":"https:\/\/rasanegar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d9%87-%d9%87%d8%a7%db%8c-%da%a9%d8%a7%d8%b1%d8%a8%d8%b1%d8%af%db%8c-tui-%d8%a8%d8%a7-%da%a9\/"},"modified":"2024-01-17T23:05:20","modified_gmt":"2024-01-17T19:35:20","slug":"%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d9%87-%d9%87%d8%a7%db%8c-%da%a9%d8%a7%d8%b1%d8%a8%d8%b1%d8%af%db%8c-tui-%d8%a8%d8%a7-%da%a9","status":"publish","type":"post","link":"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d9%87-%d9%87%d8%a7%db%8c-%da%a9%d8%a7%d8%b1%d8%a8%d8%b1%d8%af%db%8c-tui-%d8%a8%d8%a7-%da%a9\/","title":{"rendered":"\u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc TUI \u0628\u0627 \u06a9\u0644\u06cc\u06a9 \u0648 \u062a\u0631\u0648\u06af\u0648\u0646 \u2013 \u0622\u0645\u0648\u0632\u0634 \u0644\u06cc\u0646\u0648\u06a9\u0633"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">\u0633\u0631\u0641\u0635\u0644\u0647\u0627\u06cc \u0645\u0637\u0644\u0628<\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d9%87-%d9%87%d8%a7%db%8c-%da%a9%d8%a7%d8%b1%d8%a8%d8%b1%d8%af%db%8c-tui-%d8%a8%d8%a7-%da%a9\/#%d8%a2%d9%86%da%86%d9%87_%d8%b4%d9%85%d8%a7_%d8%a8%d8%b1%d8%a7%db%8c_%d8%a7%db%8c%d9%86_%d8%a2%d9%85%d9%88%d8%b2%d8%b4_%d9%86%db%8c%d8%a7%d8%b2_%d8%af%d8%a7%d8%b1%db%8c%d8%af\" >\u0622\u0646\u0686\u0647 \u0634\u0645\u0627 \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u062f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d9%87-%d9%87%d8%a7%db%8c-%da%a9%d8%a7%d8%b1%d8%a8%d8%b1%d8%af%db%8c-tui-%d8%a8%d8%a7-%da%a9\/#%db%8c%da%a9_cli_%d9%85%d8%b9%d9%85%d9%88%d9%84%db%8c_%d8%b1%d8%a7%d8%a8%d8%b7_%d8%ae%d8%b7_%d9%81%d8%b1%d9%85%d8%a7%d9%86_%da%86%da%af%d9%88%d9%86%d9%87_%d8%a8%d9%87_%d9%86%d8%b8%d8%b1_%d9%85%db%8c_%d8%b1%d8%b3%d8%af_%e2%80%93_refresher_%d8%b3%d8%b1%db%8c%d8%b9\" >\u06cc\u06a9 CLI \u0645\u0639\u0645\u0648\u0644\u06cc (\u0631\u0627\u0628\u0637 \u062e\u0637 \u0641\u0631\u0645\u0627\u0646) \u0686\u06af\u0648\u0646\u0647 \u0628\u0647 \u0646\u0638\u0631 \u0645\u06cc \u0631\u0633\u062f &#8211; Refresher \u0633\u0631\u06cc\u0639<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d9%87-%d9%87%d8%a7%db%8c-%da%a9%d8%a7%d8%b1%d8%a8%d8%b1%d8%af%db%8c-tui-%d8%a8%d8%a7-%da%a9\/#%d8%b1%d9%88%d8%b4%db%8c_%d8%ac%d8%af%db%8c%d8%af_%d8%a8%d8%b1%d8%a7%db%8c_%d9%be%d8%b1%d8%af%d8%a7%d8%b2%d8%b4_cli_%d8%a8%d8%a7_%da%a9%d9%84%db%8c%da%a9\" >\u0631\u0648\u0634\u06cc \u062c\u062f\u06cc\u062f \u0628\u0631\u0627\u06cc \u067e\u0631\u062f\u0627\u0632\u0634 CLI \u0628\u0627 \u06a9\u0644\u06cc\u06a9<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d9%87-%d9%87%d8%a7%db%8c-%da%a9%d8%a7%d8%b1%d8%a8%d8%b1%d8%af%db%8c-tui-%d8%a8%d8%a7-%da%a9\/#%d8%b1%d9%88%d8%b4_%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87_%d8%a7%d8%b2_setuptools_%d9%88_%da%a9%d9%84%db%8c%da%a9_%da%a9%d9%86%db%8c%d8%af\" >\u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 setuptools \u0648 \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d9%87-%d9%87%d8%a7%db%8c-%da%a9%d8%a7%d8%b1%d8%a8%d8%b1%d8%af%db%8c-tui-%d8%a8%d8%a7-%da%a9\/#%da%86%da%af%d9%88%d9%86%d9%87_cli_%d8%ae%d9%88%d8%af_%d8%b1%d8%a7_%d8%a8%d8%a7_trogon_%d9%82%d8%a7%d8%a8%d9%84_%da%a9%d8%b4%d9%81_%da%a9%d9%86%db%8c%d9%85\" >\u0686\u06af\u0648\u0646\u0647 CLI \u062e\u0648\u062f \u0631\u0627 \u0628\u0627 Trogon \u0642\u0627\u0628\u0644 \u06a9\u0634\u0641 \u06a9\u0646\u06cc\u0645<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d9%87-%d9%87%d8%a7%db%8c-%da%a9%d8%a7%d8%b1%d8%a8%d8%b1%d8%af%db%8c-tui-%d8%a8%d8%a7-%da%a9\/#%da%86%d9%87_%d8%ae%d8%a8%d8%b1_%d8%a8%d8%b9%d8%af%db%8c\" >\u0686\u0647 \u062e\u0628\u0631 \u0628\u0639\u062f\u06cc<\/a><\/li><\/ul><\/nav><\/div>\n<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">\u0632\u0645\u0627\u0646 \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u0645\u0637\u0627\u0644\u0639\u0647: <\/span> <span class=\"rt-time\"> 7<\/span> <span class=\"rt-label rt-postfix\">\u062f\u0642\u06cc\u0642\u0647<\/span><\/span><p> <br \/>\n<\/p>\n<section class=\"post-content \" data-test-label=\"post-content\">\n<p>\u0644\u06cc\u0646\u0648\u06a9\u0633 \u0648 terminal \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627 \u062a\u0642\u0631\u06cc\u0628\u0627 \u0645\u062a\u0631\u0627\u062f\u0641 \u0647\u0633\u062a\u0646\u062f.  \u0627\u06af\u0631 \u0627\u0632 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc\u06cc \u0645\u0627\u0646\u0646\u062f grep\u060c cat\u060c sed \u0648 AWK \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f\u060c \u0627\u06cc\u0646\u0647\u0627 \u0631\u0627\u0628\u0637 \u0647\u0627\u06cc \u062e\u0637 \u0641\u0631\u0645\u0627\u0646 (CLI) \u0647\u0633\u062a\u0646\u062f.  \u0648 \u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u0622\u0646\u0647\u0627 \u0628\u0627 \u0647\u0645 \u06a9\u0627\u0631 \u0645\u06cc \u06a9\u0646\u0646\u062f\u060c \u0628\u0647 \u0634\u0645\u0627 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0645\u06cc \u062f\u0647\u0646\u062f \u06a9\u0647 \u0628\u0627 \u062a\u0631\u06a9\u06cc\u0628 \u0648 \u062a\u0637\u0628\u06cc\u0642 \u0686\u0646\u062f \u062f\u0633\u062a\u0648\u0631\u060c \u0642\u062f\u0631\u062a \u0631\u0627\u06cc\u0627\u0646\u0647 \u062e\u0648\u062f \u0631\u0627 \u0622\u0632\u0627\u062f \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u06af\u0627\u0647\u06cc \u0627\u0648\u0642\u0627\u062a CLI \u0628\u06cc\u0634 \u0627\u0632 \u062d\u062f \u067e\u06cc\u0686\u06cc\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f &#8211; \u0648 \u062f\u0631 \u0622\u0646 \u0632\u0645\u0627\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0628\u0627 \u0646\u0633\u062e\u0647 \u0647\u0627\u06cc \u0627\u06a9\u062a\u0634\u0627\u0641\u06cc \u0628\u06cc\u0634\u062a\u0631\u06cc \u0627\u0632 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc\u06cc \u0628\u0647 \u0646\u0627\u0645 \u0631\u0627\u0628\u0637 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0645\u062a\u0646\u06cc (TUI) \u062a\u06a9\u0645\u06cc\u0644 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>TUI \u0647\u0627\u06cc\u06cc \u0645\u0627\u0646\u0646\u062f HTOP\u060c Glances\u060c Midnight Commander \u0648 \u0645\u0648\u0627\u0631\u062f \u062f\u06cc\u06af\u0631 \u0628\u0647 \u0634\u0645\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0645\u06cc \u062f\u0647\u0646\u062f \u062a\u0627 \u0642\u062f\u0631\u062a CLI \u0631\u0627 \u0628\u062f\u0648\u0646 \u0627\u0632 \u062f\u0633\u062a \u062f\u0627\u062f\u0646 \u0633\u0647\u0648\u0644\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062a\u0631\u06a9\u06cc\u0628 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0648\u0642\u062a\u06cc \u067e\u0627\u06cc\u062a\u0648\u0646 CLI \u0634\u0645\u0627 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627\u06cc \u0632\u06cc\u0627\u062f\u06cc \u062f\u0627\u0631\u062f \u0648 \u062a\u0631\u0633\u0646\u0627\u06a9 \u0645\u06cc \u0634\u0648\u062f\u060c \u0686\u0647 \u06a9\u0627\u0631\u06cc \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f\u061f  \u062e\u0648\u0628 \u0646\u06cc\u0633\u062a \u0627\u06af\u0631 \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u0631\u0627\u0647\u06cc \u0628\u0631\u0627\u06cc \u06a9\u0634\u0641 \u0628\u0631\u0646\u0627\u0645\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u0648 \u067e\u0633 \u0627\u0632 \u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u0622\u0646\u060c \u0648\u0638\u0627\u06cc\u0641 \u062e\u0648\u062f \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627\u06cc \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0634\u062f\u0647 \u062a\u0648\u0633\u0637 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0628\u0647 \u0633\u0631\u0639\u062a \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f\u061f <\/p>\n<p>\u067e\u0627\u06cc\u062a\u0648\u0646 \u062f\u0627\u0631\u0627\u06cc \u06cc\u06a9 \u0627\u06a9\u0648\u0633\u06cc\u0633\u062a\u0645 \u0628\u0633\u06cc\u0627\u0631 \u0633\u0627\u0644\u0645 \u0627\u0632 \u0686\u0627\u0631\u0686\u0648\u0628\u200c\u0647\u0627\u06cc \u0631\u0627\u0628\u0637 \u06a9\u0627\u0631\u0628\u0631\u06cc \u06af\u0631\u0627\u0641\u06cc\u06a9\u06cc \u0648 TUI \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0622\u0646 \u0628\u0631\u0627\u06cc \u0646\u0648\u0634\u062a\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0632\u06cc\u0628\u0627 \u0648 \u0628\u0635\u0631\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.  \u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0645\u0627 \u062f\u0631 \u0645\u0648\u0631\u062f Trogon \u0648 \u06a9\u0627\u0631\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f \u062a\u0627 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u062e\u0648\u062f \u0631\u0627 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u062c\u062f\u06cc\u062f \u0648 \u0628\u0627\u062a\u062c\u0631\u0628\u0647\u200c\u062a\u0631 \u0648 \u062f\u0631 \u0639\u06cc\u0646 \u062d\u0627\u0644 \u0642\u062f\u0631\u062a\u0645\u0646\u062f\u062a\u0631 \u06a9\u0646\u06cc\u062f\u060c \u0635\u062d\u0628\u062a \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f.<\/p>\n<p>\u0645\u0646 \u062f\u0648 \u0645\u0648\u0631\u062f \u0627\u0632 \u0622\u0646\u0647\u0627 \u0631\u0627 \u0628\u0647 \u0634\u0645\u0627 \u0646\u0634\u0627\u0646 \u062e\u0648\u0627\u0647\u0645 \u062f\u0627\u062f \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u0628\u0647 \u0634\u0645\u0627 \u062f\u0631 \u062d\u0644 \u062f\u0648 \u0645\u0634\u06a9\u0644 \u0632\u06cc\u0631 \u06a9\u0645\u06a9 \u06a9\u0646\u0646\u062f:<\/p>\n<ol>\n<li>\u0647\u0646\u06af\u0627\u0645 \u0646\u0648\u0634\u062a\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0647\u0627 \u0627\u0632 \u063a\u0631\u0642 \u0634\u062f\u0646 \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 API\u0647\u0627\u06cc \u062a\u0631\u0633\u0646\u0627\u06a9 \u0627\u062c\u062a\u0646\u0627\u0628 \u06a9\u0646\u06cc\u062f.  \u0627\u0632 \u0628\u0633\u062a\u0647 \u06a9\u0644\u06cc\u06a9\u06cc \u067e\u0627\u06cc\u062a\u0648\u0646 \u0628\u0631\u0627\u06cc \u062d\u0644 \u0622\u0646 \u0645\u0634\u06a9\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u062f \u06a9\u0631\u062f.<\/li>\n<li>\u0627\u0645\u06a9\u0627\u0646 \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc  \u0627\u06cc\u0646 \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0627\u06cc \u062f\u0627\u0631\u06cc\u062f \u06a9\u0647 \u0627\u0632 \u06af\u0632\u06cc\u0646\u0647\u200c\u0647\u0627\u06cc \u0632\u06cc\u0627\u062f\u06cc \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f \u06cc\u0627 \u0645\u062f\u062a\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0627\u0632 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f\u060c \u0628\u0633\u06cc\u0627\u0631 \u0645\u0647\u0645 \u0627\u0633\u062a.  \u0627\u06cc\u0646\u062c\u0627\u0633\u062a \u06a9\u0647 Trogon \u0628\u0647 \u06a9\u0627\u0631 \u0645\u06cc \u0622\u06cc\u062f.<\/li>\n<\/ol>\n<p>\u0645\u0627 \u0627\u0632 \u06a9\u062f \u0645\u0646\u0628\u0639 \u06cc\u06a9\u06cc \u0627\u0632 Open \u0645\u0646 \u062f\u0648\u0628\u0627\u0631\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f Source \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u060c rpm_query \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u067e\u0627\u06cc\u0647.  Rpm_query \u0645\u062c\u0645\u0648\u0639\u0647 \u0627\u06cc \u0627\u0632 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0633\u0627\u062f\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 RPM \u0633\u06cc\u0633\u062a\u0645 \u0634\u0645\u0627 \u0631\u0627 \u0627\u0632 \u062e\u0637 \u0641\u0631\u0645\u0627\u0646 \u067e\u0631\u0633 \u0648 \u062c\u0648 \u06a9\u0646\u062f.<\/p>\n<h2 id=\"what-you-ll-need-for-this-tutorial\"><span class=\"ez-toc-section\" id=\"%d8%a2%d9%86%da%86%d9%87_%d8%b4%d9%85%d8%a7_%d8%a8%d8%b1%d8%a7%db%8c_%d8%a7%db%8c%d9%86_%d8%a2%d9%85%d9%88%d8%b2%d8%b4_%d9%86%db%8c%d8%a7%d8%b2_%d8%af%d8%a7%d8%b1%db%8c%d8%af\"><\/span>\u0622\u0646\u0686\u0647 \u0634\u0645\u0627 \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u062f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ol>\n<li>\u062a\u0648\u0632\u06cc\u0639 \u0644\u06cc\u0646\u0648\u06a9\u0633\u060c \u062a\u0631\u062c\u06cc\u062d\u0627\u064b \u062a\u0648\u0632\u06cc\u0639\u06cc \u06a9\u0647 \u0627\u0632 RPM \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u062f (\u0645\u0627\u0646\u0646\u062f \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0633\u0627\u0632\u0645\u0627\u0646\u06cc \u0641\u062f\u0648\u0631\u0627 \u06cc\u0627 RedHat)<\/li>\n<li>\u067e\u0627\u06cc\u062a\u0648\u0646 3.8+ <\/li>\n<li>Git<\/li>\n<li>\u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u0645\u062d\u06cc\u0637 \u0647\u0627\u06cc \u0645\u062c\u0627\u0632\u06cc \u067e\u0627\u06cc\u062a\u0648\u0646<\/li>\n<li>\u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0627\u06cc\u0646\u062a\u0631\u0646\u062a \u0628\u0631\u0627\u06cc \u062f\u0627\u0646\u0644\u0648\u062f \u0648\u0627\u0628\u0633\u062a\u06af\u06cc \u0647\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 pip.<\/li>\n<\/ol>\n<p>\u0645\u0646 \u0642\u0648\u06cc\u0627\u064b \u067e\u06cc\u0634\u0646\u0647\u0627\u062f \u0645\u06cc \u06a9\u0646\u0645 \u06a9\u0647 \u0645\u062e\u0632\u0646 \u0631\u0627 \u0634\u0628\u06cc\u0647 \u0633\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f \u0648 \u06cc\u06a9 \u0645\u062d\u06cc\u0637 \u0645\u062c\u0627\u0632\u06cc \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u0622\u0645\u0648\u0632\u0634 \u0631\u0627 \u062f\u0646\u0628\u0627\u0644 \u06a9\u0646\u06cc\u062f:<\/p>\n<p><!--kg-card-begin: markdown--><\/p>\n<pre><code class=\"language-shell\">git clone https:\/\/github.com\/josevnz\/CLIWithClickAndTrogon.git\ncd CLIWithClickAndTrogon\npython3 -m venv ~\/virtualenv\/CLIWithCLickAndTrogon \n. ~\/virtualenv\/CLIWithCLickAndTrogon\/bin\/activate\n<\/code><\/pre>\n<p><!--kg-card-end: markdown--><\/p>\n<p>\u0627\u06af\u0631 \u0622\u0645\u0627\u062f\u0647 \u0647\u0633\u062a\u06cc\u062f\u060c \u0628\u06cc\u0627\u06cc\u06cc\u062f \u062f\u0627\u062e\u0644 \u0634\u06cc\u0631\u062c\u0647 \u0628\u0632\u0646\u06cc\u0645.<\/p>\n<h2 id=\"what-a-typical-cli-command-line-interface-looks-like-quick-refresher\"><span class=\"ez-toc-section\" id=\"%db%8c%da%a9_cli_%d9%85%d8%b9%d9%85%d9%88%d9%84%db%8c_%d8%b1%d8%a7%d8%a8%d8%b7_%d8%ae%d8%b7_%d9%81%d8%b1%d9%85%d8%a7%d9%86_%da%86%da%af%d9%88%d9%86%d9%87_%d8%a8%d9%87_%d9%86%d8%b8%d8%b1_%d9%85%db%8c_%d8%b1%d8%b3%d8%af_%e2%80%93_refresher_%d8%b3%d8%b1%db%8c%d8%b9\"><\/span>\u06cc\u06a9 CLI \u0645\u0639\u0645\u0648\u0644\u06cc (\u0631\u0627\u0628\u0637 \u062e\u0637 \u0641\u0631\u0645\u0627\u0646) \u0686\u06af\u0648\u0646\u0647 \u0628\u0647 \u0646\u0638\u0631 \u0645\u06cc \u0631\u0633\u062f &#8211; Refresher \u0633\u0631\u06cc\u0639<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0627\u06cc\u0646 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0627\u0632 \u06cc\u06a9 \u0645\u0627\u0698\u0648\u0644 \u062f\u0631 \u062f\u0627\u062e\u0644 \u0628\u0633\u062a\u0647 \u067e\u0627\u06cc\u062a\u0648\u0646 \u06af\u0632\u0627\u0631\u0634\u06af\u0631 \u0628\u0631\u0627\u06cc \u067e\u0631\u0633 \u0648 \u062c\u0648 \u0627\u0632 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 RPM \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<p><!--kg-card-begin: markdown--><\/p>\n<pre><code class=\"language-python\">#!\/usr\/bin\/env python\n\"\"\"\n# rpmq_simple.py - A simple CLI to query the sizes of RPM \u0631\u0648\u06cc your system\nAuthor: Jose Vicente Nunez\n\"\"\"\nimport argparse\nimport textwrap\n\nfrom reporter import __is_valid_limit__\nfrom reporter.rpm_query import QueryHelper\n\nif __name__ == \"__main__\":\n\n    parser = argparse.ArgumentParser(description=textwrap.dedent(__doc__))\n    parser.add_argument(\n        \"--limit\",\n        type=__is_valid_limit__,  # Custom limit validator\n        action=\"store\",\n        default=QueryHelper.MAX_NUMBER_OF_RESULTS,\n        help=\"By default results are unlimited but you can cap the results\"\n    )\n    parser.add_argument(\n        \"--name\",\n        type=str,\n        action=\"store\",\n        help=\"You can filter by a package name.\"\n    )\n    parser.add_argument(\n        \"--sort\",\n        action=\"store_false\",\n        help=\"Sorted results are enabled bu default, but you fan turn it off\"\n    )\n    args = parser.parse_args()\n\n    with QueryHelper(\n        name=args.name,\n        limit=args.limit,\n        sorted_val=args.sort\n    ) as rpm_query:\n        for package in rpm_query:\n            print(f\"{package['name']}-{package['version']}: {package['size']:,.0f}\")\n<\/code><\/pre>\n<p><!--kg-card-end: markdown--><\/p>\n<p>\u0628\u06cc\u0627\u06cc\u06cc\u062f \u0622\u0646 \u0631\u0627 \u062f\u0631 \u062d\u0627\u0644\u062a \u0642\u0627\u0628\u0644 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u0645:<\/p>\n<p><!--kg-card-begin: markdown--><\/p>\n<pre><code class=\"language-shell\">. ~\/virtualenv\/CLIWithCLickAndTrogon\/bin\/activate\npip install --editable .\n<\/code><\/pre>\n<p><!--kg-card-end: markdown--><\/p>\n<p>\u0648 \u0622\u0646 \u0631\u0627 \u062f\u0631 \u0639\u0645\u0644 \u0628\u0628\u06cc\u0646\u06cc\u062f:<\/p>\n<p><!--kg-card-begin: markdown--><\/p>\n<pre><code class=\"language-shell\">(CLIWithClickAndTrogon) [josevnz@dmaf5 CLIWithClickAndTrogon]$ rpmq_simple.py --help\nusage: rpmq_simple.py [-h] [--limit LIMIT] [--name NAME] [--sort]\n\n# rpmq_simple.py - A simple CLI to query the sizes of RPM \u0631\u0648\u06cc your system Author: Jose Vicente Nunez\n\noptions:\n  -h, --help     show this help message and exit\n  --limit LIMIT  By default results are unlimited but you can cap the results\n  --name NAME    You can filter by a package name.\n  --sort         Sorted results are enabled bu default, but you fan turn it off\n(CLIWithClickAndTrogon) [josevnz@dmaf5 CLIWithClickAndTrogon]$ rpmq_simple.py --name kernel --limit 5\nkernel-6.2.11: 0\nkernel-6.2.14: 0\nkernel-6.2.15: 0\n<\/code><\/pre>\n<p><!--kg-card-end: markdown--><\/p>\n<p>\u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0627\u0632 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u06a9\u062f\u0647\u0627 \u0628\u0647 \u0646\u0638\u0631 \u0645\u06cc \u0631\u0633\u062f \u0631\u0648\u06cc rpmq_simple.py \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0628\u0631\u0627\u06cc \u0631\u0627\u0628\u0637 \u062e\u0637 \u0641\u0631\u0645\u0627\u0646\u060c \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f \u00abArgParse\u00bb \u0628\u0647 \u0635\u0648\u0631\u062a boilerplate \u0627\u0633\u062a.<\/p>\n<p>ArgParse \u0642\u062f\u0631\u062a\u0645\u0646\u062f \u0627\u0633\u062a\u060c \u0627\u0645\u0627 \u062f\u0631 \u0627\u0628\u062a\u062f\u0627 \u062a\u0631\u0633\u0646\u0627\u06a9 \u0627\u0633\u062a\u060c \u0628\u0647 \u062e\u0635\u0648\u0635 \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0645\u062c\u0628\u0648\u0631 \u0628\u0647 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0627\u0632 \u0645\u0648\u0627\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0686\u0646\u062f\u06af\u0627\u0646\u0647 \u0647\u0633\u062a\u06cc\u062f.<\/p>\n<h2 id=\"a-new-way-to-process-the-cli-with-click\"><span class=\"ez-toc-section\" id=\"%d8%b1%d9%88%d8%b4%db%8c_%d8%ac%d8%af%db%8c%d8%af_%d8%a8%d8%b1%d8%a7%db%8c_%d9%be%d8%b1%d8%af%d8%a7%d8%b2%d8%b4_cli_%d8%a8%d8%a7_%da%a9%d9%84%db%8c%da%a9\"><\/span>\u0631\u0648\u0634\u06cc \u062c\u062f\u06cc\u062f \u0628\u0631\u0627\u06cc \u067e\u0631\u062f\u0627\u0632\u0634 CLI \u0628\u0627 \u06a9\u0644\u06cc\u06a9<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0686\u0627\u0631\u0686\u0648\u0628 \u06a9\u0644\u06cc\u06a9 \u0642\u0648\u0644 \u0645\u06cc \u062f\u0647\u062f \u06a9\u0647 \u062a\u062c\u0632\u06cc\u0647 \u0622\u0631\u06af\u0648\u0645\u0627\u0646 \u0647\u0627\u06cc \u062e\u0637 \u0641\u0631\u0645\u0627\u0646 \u0631\u0627 \u0622\u0633\u0627\u0646 \u062a\u0631 \u06a9\u0646\u062f.  \u0628\u0631\u0627\u06cc \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0646 \u0622\u0646\u060c \u0628\u06cc\u0627\u06cc\u06cc\u062f \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u062e\u0648\u062f \u0631\u0627 \u0627\u0632 ArgParse \u0628\u0647 Click \u062a\u0628\u062f\u06cc\u0644 \u06a9\u0646\u06cc\u0645 (\u0647\u0631 \u062f\u0648 \u06af\u0632\u06cc\u0646\u0647\u200c\u0647\u0627 \u0631\u0627 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f \u0627\u0645\u0627 Click \u0686\u0646\u062f \u06af\u0632\u06cc\u0646\u0647 \u062c\u0627\u0644\u0628 \u062f\u0627\u0631\u062f \u06a9\u0647 \u0645\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f):<\/p>\n<p><!--kg-card-begin: markdown--><\/p>\n<pre><code class=\"language-python\">#!\/usr\/bin\/env python\n\"\"\"\n# rpmq_click.py - A simple CLI to query the sizes of RPM \u0631\u0648\u06cc your system\nAuthor: Jose Vicente Nunez\n\"\"\"\nimport click\n\nfrom reporter.rpm_query import QueryHelper\n\n\n@click.command()\n@click.option('--limit', default=QueryHelper.MAX_NUMBER_OF_RESULTS,\n              help=\"By default results are unlimited but you can cap the results\")\n@click.option('--name', help=\"You can filter by a package name.\")\n@click.option('--sort', default=True, help=\"Sorted results are enabled bu default, but you fan turn it off\")\ndef command(\n        name: str,\n        limit: int,\n        sort: bool\n) -&gt; None:\n    with QueryHelper(\n            name=name,\n            limit=limit,\n            sorted_val=sort\n    ) as rpm_query:\n        for package in rpm_query:\n            click.echo(f\"{package['name']}-{package['version']}: {package['size']:,.0f}\")\n\n\nif __name__ == \"__main__\":\n    command()\n<\/code><\/pre>\n<p><!--kg-card-end: markdown--><\/p>\n<p>\u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0645\u062a\u0648\u062c\u0647 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0628\u0632\u0631\u06af \u062e\u0648\u0627\u0647\u06cc\u062f \u0634\u062f:<\/p>\n<ol>\n<li>\u0628\u06cc\u0634\u062a\u0631 \u06a9\u062f \u062f\u06cc\u06af \u0628\u062e\u0627\u0631 \u0627\u0632 ArgParse \u0627\u0632 \u0628\u06cc\u0646 \u0631\u0641\u062a\u0647 \u0627\u0633\u062a \u0648 \u0628\u0627 \u062d\u0627\u0634\u06cc\u0647 \u0646\u0648\u06cc\u0633\u06cc \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/li>\n<li>\u06a9\u0644\u06cc\u06a9 \u0628\u0627 \u0627\u0641\u0632\u0648\u062f\u0646 \u062f\u06a9\u0648\u0631\u0627\u062a\u0648\u0631\u0647\u0627 \u0628\u0647 \u06cc\u06a9 \u062a\u0627\u0628\u0639 \u062c\u062f\u06cc\u062f \u0628\u0647 \u0646\u0627\u0645 &#8220;command&#8221; \u06a9\u0627\u0631 \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u0622\u0631\u06af\u0648\u0645\u0627\u0646 \u0647\u0627 \u0631\u0627 \u0645\u06cc \u06af\u06cc\u0631\u062f \u0648 \u067e\u0631\u0633 \u0648 \u062c\u0648\u06cc RPM \u0631\u0627 \u0627\u062c\u0631\u0627 \u0645\u06cc \u06a9\u0646\u062f.<\/li>\n<\/ol>\n<p>\u0627\u06af\u0631 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u062c\u062f\u06cc\u062f \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f\u060c \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u06cc\u062f \u06a9\u0647 \u062f\u0642\u06cc\u0642\u0627\u064b \u0645\u0627\u0646\u0646\u062f \u0642\u0628\u0644 \u06a9\u0627\u0631 \u0645\u06cc \u06a9\u0646\u062f:<\/p>\n<p><!--kg-card-begin: markdown--><\/p>\n<pre><code class=\"language-shell\">(CLIWithClickAndTrogon) [josevnz@dmaf5 CLIWithClickAndTrogon]$ rpmq_click.py --help\nUsage: rpmq_click.py [OPTIONS]\n\nOptions:\n  --limit INTEGER  By default results are unlimited but you can cap the\n                   results\n  --name TEXT      You can filter by a package name.\n  --sort BOOLEAN   Sorted results are enabled bu default, but you fan turn it\n                   off\n  --help           Show this message and exit.\n(CLIWithClickAndTrogon) [josevnz@dmaf5 CLIWithClickAndTrogon]$ rpmq_click.py --name kernel --limit 5\nkernel-6.2.11: 0\nkernel-6.2.14: 0\nkernel-6.2.15: 0\n<\/code><\/pre>\n<p><!--kg-card-end: markdown--><\/p>\n<p>\u067e\u0633 \u0686\u0647 \u0686\u06cc\u0632\u06cc \u0628\u0647 \u062f\u0633\u062a \u0622\u0648\u0631\u062f\u06cc\u0645\u061f  \u06a9\u062f \u0645\u0627 \u06a9\u0645\u06cc \u0633\u0627\u062f\u0647 \u062a\u0631 \u0627\u0633\u062a \u0627\u0645\u0627 \u0627\u06a9\u0646\u0648\u0646 \u062a\u0648\u0633\u0637 Trogon \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc \u0634\u0648\u062f\u060c \u0686\u0627\u0631\u0686\u0648\u0628 \u062c\u062f\u06cc\u062f\u06cc \u06a9\u0647 \u0628\u0647 \u0632\u0648\u062f\u06cc \u062f\u0631 \u0645\u0648\u0631\u062f \u0622\u0646 \u0635\u062d\u0628\u062a \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f.<\/p>\n<h2 id=\"how-to-use-setuptools-and-click\"><span class=\"ez-toc-section\" id=\"%d8%b1%d9%88%d8%b4_%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87_%d8%a7%d8%b2_setuptools_%d9%88_%da%a9%d9%84%db%8c%da%a9_%da%a9%d9%86%db%8c%d8%af\"><\/span>\u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 setuptools \u0648 \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0645\u0633\u062a\u0646\u062f\u0627\u062a \u06a9\u0644\u06cc\u06a9 \u062a\u0648\u0635\u06cc\u0647 \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u0645\u0627 \u0628\u0627\u06cc\u062f \u0627\u0632 setuptools \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u067e\u0648\u0634\u0634 \u0628\u0631\u0627\u06cc \u0627\u0628\u0632\u0627\u0631 \u062e\u0648\u062f \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u0645.  \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0628\u0627\u06cc\u062f \u062a\u0627\u0628\u0639\u06cc \u0631\u0627 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u062f\u0631 \u0622\u0646 \u062a\u0645\u0627\u0645 \u06af\u0632\u06cc\u0646\u0647\u200c\u0647\u0627\u06cc \u062e\u0637 \u0641\u0631\u0645\u0627\u0646 \u0648 \u0645\u0646\u0637\u0642 \u0631\u0627 \u0645\u062f\u06cc\u0631\u06cc\u062a \u06a9\u0646\u06cc\u0645 \u0648 wrapper \u06cc\u06a9 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0645\u0639\u0645\u0648\u0644\u06cc \u0628\u0631\u0627\u06cc \u0645\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u062f. \u0631\u0648\u06cc \u0645\u06a9\u0627\u0646 \u0645\u0646\u0627\u0633\u0628 \u062f\u0631 \u0647\u0646\u06af\u0627\u0645 \u0646\u0635\u0628 \u067e\u06a9\u06cc\u062c  \u0647\u0645\u0686\u0646\u06cc\u0646 \u0628\u0647 \u0646\u0633\u062e\u0647 \u0645\u0646\u0627\u0633\u0628 \u067e\u0627\u06cc\u062a\u0648\u0646\u060c \u062f\u0631 \u0645\u06cc\u0627\u0646 \u0686\u06cc\u0632\u0647\u0627\u06cc \u062e\u0648\u0628 \u062f\u06cc\u06af\u0631 \u0627\u0634\u0627\u0631\u0647 \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<p>\u0633\u0646\u062f \u062f\u0627\u0631\u0627\u06cc \u0646\u062d\u0648 \u0645\u0646\u0633\u0648\u062e \u0628\u0631\u0627\u06cc \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0627\u0633\u062a.py\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0628\u0647 \u062c\u0627\u06cc \u0622\u0646 \u0627\u0632 \u0641\u0631\u0645\u062a \u062c\u062f\u06cc\u062f\u062a\u0631 setup.cfg \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f:<\/p>\n<pre><code>[metadata]\nname = CLIWithClickAndTrogon\nversion = 0.0.1\nauthor = Jose Vicente Nunez Zuleta\nauthor-email = kodegeek.com@protonmail.com\nlicense = Apache 2.0\nsummary = Simple TUI that queries the RPM database\nhome-page = https:\/\/github.com\/josevnz\/cliwithclickandtrogon\ndescription = Simple TUI that queries the RPM database. A tutorial.\nlong_description = file: README.md\nlong_description_content_type = text\/markdown\n\n[options]\npackages = reporter\nsetup_requires =\n    setuptools\n    wheel\n    build\n    pip\n    twine\ninstall_requires =\n    importlib; python_version == \"3.9\"\n    click\nscripts =\n    scripts\/rpmq_simple.py\n    scripts\/rpmq_click.py\n[options.entry_points]\nconsole_scripts =\n    rpmq = reporter.scripts:command\n<\/code><\/pre>\n<p>\u0645\u0646 \u06cc\u06a9 \u0628\u0633\u062a\u0647 \u0628\u0647 \u0646\u0627\u0645 &#8220;\u0627\u0633\u06a9\u0631\u06cc\u067e\u062a&#8221; \u062f\u0631 \u062f\u0627\u062e\u0644 \u0628\u0633\u062a\u0647 \u0628\u0647 \u0646\u0627\u0645 &#8220;\u06af\u0632\u0627\u0631\u0634\u06af\u0631&#8221; \u0628\u0627 \u0645\u0646\u0637\u0642 CLI \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u0644\u06cc\u06a9 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u0645.<\/p>\n<p>setuptools \u06cc\u06a9 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0628\u0647 \u0646\u0627\u0645 rpmq \u0628\u0631\u0627\u06cc \u0645\u0627 \u062a\u0648\u0644\u06cc\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f \u06a9\u0647 \u062f\u0642\u06cc\u0642\u0627\u064b \u0645\u0627\u0646\u0646\u062f \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0642\u0628\u0644\u06cc \u0639\u0645\u0644 \u0645\u06cc\u200c\u06a9\u0646\u062f \u2013 \u0627\u0645\u0627 \u0628\u0627\u0632 \u0647\u0645\u060c \u0628\u0631\u0627\u06cc \u0627\u0631\u0633\u0627\u0644 \u0622\u0631\u06af\u0648\u0645\u0627\u0646\u200c\u0647\u0627 \u0628\u0647 \u06a9\u0644\u06cc\u06a9\u060c \u0628\u0647 \u0647\u06cc\u0686 \u06a9\u062f boilerplate \u0646\u06cc\u0627\u0632 \u0646\u062f\u0627\u0631\u06cc\u0645:<\/p>\n<p><!--kg-card-begin: markdown--><\/p>\n<pre><code class=\"language-shell\">CLIWithClickAndTrogon) [josevnz@dmaf5 CLIWithClickAndTrogon]$ pip install --editable .\n(CLIWithClickAndTrogon) [josevnz@dmaf5 CLIWithClickAndTrogon]$ rpmq --help\nUsage: rpmq [OPTIONS]\n\nOptions:\n  --limit INTEGER  By default results are unlimited but you can cap the\n                   results\n  --name TEXT      You can filter by a package name.\n  --sort BOOLEAN   Sorted results are enabled bu default, but you fan turn it\n                   off\n  --help           Show this message and exit.\n(CLIWithClickAndTrogon) [josevnz@dmaf5 CLIWithClickAndTrogon]$ rpmq --name kernel --limit 5\nkernel-6.2.11: 0\nkernel-6.2.14: 0\nkernel-6.2.15: 0\n<\/code><\/pre>\n<p><!--kg-card-end: markdown--><\/p>\n<h2 id=\"how-to-make-your-cli-discoverable-with-trogon\"><span class=\"ez-toc-section\" id=\"%da%86%da%af%d9%88%d9%86%d9%87_cli_%d8%ae%d9%88%d8%af_%d8%b1%d8%a7_%d8%a8%d8%a7_trogon_%d9%82%d8%a7%d8%a8%d9%84_%da%a9%d8%b4%d9%81_%da%a9%d9%86%db%8c%d9%85\"><\/span>\u0686\u06af\u0648\u0646\u0647 CLI \u062e\u0648\u062f \u0631\u0627 \u0628\u0627 Trogon \u0642\u0627\u0628\u0644 \u06a9\u0634\u0641 \u06a9\u0646\u06cc\u0645<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0628\u06cc\u0627\u06cc\u06cc\u062f \u0645\u0634\u06a9\u0644 \u0642\u0627\u0628\u0644 \u06a9\u0634\u0641 \u06a9\u0631\u062f\u0646 CLI \u062e\u0648\u062f \u0631\u0627 \u0628\u0627 Trogon \u062d\u0644 \u06a9\u0646\u06cc\u0645.  \u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u062c\u062f\u06cc\u062f <code>trogon<\/code> \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0628\u062e\u0634\u06cc \u0627\u0632 \u0627\u0644\u0632\u0627\u0645\u0627\u062a (requirements.txt \u0648 setup.cfg)\u060c \u0628\u0627\u06cc\u062f \u06cc\u06a9 \u062f\u06a9\u0648\u0631\u0627\u062a\u0648\u0631 \u062c\u062f\u06cc\u062f \u0628\u0647 CLI \u062e\u0648\u062f \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u0645:<\/p>\n<p><!--kg-card-begin: markdown--><\/p>\n<pre><code class=\"language-python\">#!\/usr\/bin\/env python\n\"\"\"\nA simple CLI to query the sizes of RPM \u0631\u0648\u06cc your system\nAuthor: Jose Vicente Nunez\n\"\"\"\nimport click\nfrom trogon import tui\n\nfrom reporter.rpm_query import QueryHelper\n\n@tui()\n@click.command()\n@click.option('--limit', default=QueryHelper.MAX_NUMBER_OF_RESULTS,\n              help=\"By default results are unlimited but you can cap the results\")\n@click.option('--name', help=\"You can filter by a package name.\")\n@click.option('--sort', default=True, help=\"Sorted results are enabled bu default, but you fan turn it off\")\ndef command(\n        name: str,\n        limit: int,\n        sort: bool\n) -&gt; None:\n    with QueryHelper(\n            name=name,\n            limit=limit,\n            sorted_val=sort\n    ) as rpm_query:\n        for package in rpm_query:\n            click.echo(f\"{package['name']}-{package['version']}: {package['size']:,.0f}\")\n\n\nif __name__ == \"__main__\":\n    command()\n<\/code><\/pre>\n<p><!--kg-card-end: markdown--><\/p>\n<p>\u0641\u0642\u0637 \u06cc\u06a9 \u062d\u0627\u0634\u06cc\u0647\u060c <code>@tui<\/code>\u060c \u0648 \u062c\u062f\u06cc\u062f import.<\/p>\n<p>\u0632\u0645\u0627\u0646 \u0622\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0622\u0646 \u0631\u0627 \u062f\u0631 \u0639\u0645\u0644 \u0628\u0628\u06cc\u0646\u06cc\u0645:<\/p>\n<p><!--kg-card-begin: markdown--><\/p>\n<pre><code class=\"language-shell\">(CLIWithClickAndTrogon) [josevnz@dmaf5 CLIWithClickAndTrogon]$ rpmq_trogon.py --help\nUsage: rpmq_trogon.py [OPTIONS] COMMAND [ARGS]...\n\nOptions:\n  --help  Show this message and exit.\n\nCommands:\n  command\n  tui      Open Textual TUI.\n<\/code><\/pre>\n<p><!--kg-card-end: markdown--><\/p>\n<p>\u0646\u062a\u0627\u06cc\u062c \u06cc\u06a9\u0633\u0627\u0646 \u0627\u0633\u062a\u060c \u0627\u0645\u0627 \u062f\u0648 \u062a\u063a\u06cc\u06cc\u0631 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f:<\/p>\n<ol>\n<li>\u0627\u06af\u0631 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u0627\u0632 \u06af\u0632\u06cc\u0646\u0647\u200c\u0647\u0627\u06cc CLI \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f\u060c \u0628\u0627\u06cc\u062f \u00ab\u0641\u0631\u0645\u0627\u0646\u00bb \u0631\u0627 \u0642\u0628\u0644 \u0627\u0632 \u0633\u0648\u0626\u06cc\u0686\u200c\u0647\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u06cc\u06a9 \u0686\u06cc\u0632 \u062c\u062f\u06cc\u062f \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f <code>tui<\/code> \u0641\u0631\u0645\u0627\u0646<\/li>\n<\/ol>\n<p>\u06cc\u06a9 \u0644\u062d\u0638\u0647 \u0635\u0628\u0631 \u06a9\u0646\u06cc\u062f&#8230; \u0628\u0627 \u067e\u0631\u0686\u0645 \u0647\u0627\u06cc \u062f\u06cc\u06af\u0631 \u0686\u0647 \u0627\u062a\u0641\u0627\u0642\u06cc \u0627\u0641\u062a\u0627\u062f\u061f  \u0646\u06af\u0631\u0627\u0646 \u0646\u0628\u0627\u0634\u06cc\u062f\u060c \u0627\u06af\u0631 \u0628\u0631\u0627\u06cc &#8220;\u0641\u0631\u0645\u0627\u0646&#8221; \u06a9\u0645\u06a9 \u0628\u06cc\u0634\u062a\u0631\u06cc \u0628\u062e\u0648\u0627\u0647\u06cc\u062f\u060c \u0622\u0646\u0647\u0627 \u0631\u0627 \u062f\u0631 \u0622\u0646\u062c\u0627 \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u06cc\u062f:<\/p>\n<p><!--kg-card-begin: markdown--><\/p>\n<pre><code class=\"language-shell\">(CLIWithClickAndTrogon) [josevnz@dmaf5 CLIWithClickAndTrogon]$ rpmq_trogon.py command --help\nUsage: rpmq_trogon.py command [OPTIONS]\n\nOptions:\n  --limit INTEGER  By default results are unlimited but you can cap the\n                   results\n  --name TEXT      You can filter by a package name.\n  --sort BOOLEAN   Sorted results are enabled bu default, but you fan turn it\n                   off\n  --help           Show this message and exit.\n<\/code><\/pre>\n<p><!--kg-card-end: markdown--><\/p>\n<p>\u0622\u0647\u060c \u062e\u06cc\u0644\u06cc \u0628\u0647\u062a\u0631  \u0628\u06cc\u0627\u06cc\u06cc\u062f CLI \u0631\u0627 \u0645\u0634\u0627\u0628\u0647 \u0631\u0648\u0634 \u0642\u0628\u0644\u06cc \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u0645:<\/p>\n<p><!--kg-card-begin: markdown--><\/p>\n<pre><code class=\"language-shell\">(CLIWithClickAndTrogon) [josevnz@dmaf5 CLIWithClickAndTrogon]$ rpmq_trogon.py command --limit 5 --name kernel\nkernel-6.2.11: 0\nkernel-6.2.14: 0\nkernel-6.2.15: 0\n<\/code><\/pre>\n<p><!--kg-card-end: markdown--><\/p>\n<p>\u0648 \u062f\u0631 \u0645\u0648\u0631\u062f \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0627\u0632 setuptools \u0686\u0637\u0648\u0631\u061f  \u0641\u0642\u0637 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f import \u0648 \u062d\u0627\u0634\u06cc\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0628\u0631\u0627\u06cc &#8220;\u0639\u0645\u0644\u06a9\u0631\u062f \u0641\u0631\u0645\u0627\u0646&#8221;:<\/p>\n<p><!--kg-card-begin: markdown--><\/p>\n<pre><code class=\"language-python\">import click\nfrom trogon import tui\n\nfrom reporter.rpm_query import QueryHelper\n@tui()\n@click.command()\n@click.option('--limit', default=QueryHelper.MAX_NUMBER_OF_RESULTS,\n              help=\"By default results are unlimited but you can cap the results\")\n@click.option('--name', help=\"You can filter by a package name.\")\n@click.option('--sort', default=True, help=\"Sorted results are enabled bu default, but you fan turn it off\")\ndef command(\n        name: str,\n        limit: int,\n        sort: bool\n) -&gt; None:\n    # .... real code goes here\n    pass\n<\/code><\/pre>\n<p><!--kg-card-end: markdown--><\/p>\n<p>\u0628\u0647 \u0645\u0646 \u0627\u062c\u0627\u0632\u0647 \u062f\u0647\u06cc\u062f \u0627\u06a9\u0646\u0648\u0646 \u0628\u0627 \u062d\u0627\u0644\u062a TUI \u0631\u0648\u0634 \u0639\u0645\u0644\u06a9\u0631\u062f \u062d\u0627\u0644\u062a \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u062e\u0648\u062f\u06a9\u0627\u0631 \u0631\u0627 \u0646\u0634\u0627\u0646 \u062f\u0647\u0645:<\/p>\n<p><!--kg-card-begin: markdown--><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2024\/01\/590897.svg.svg+xml; charset=utf-8\" alt=\"asciicast\" width=\"600\" height=\"400\" loading=\"lazy\" title=\"\"><\/p>\n<p><!--kg-card-end: markdown--><\/p>\n<p>\u062e\u0648\u0628!  \u0645\u0627 \u06cc\u06a9 TUI \u062f\u0631\u06cc\u0627\u0641\u062a \u06a9\u0631\u062f\u06cc\u0645 \u06a9\u0647 \u062f\u0631 \u0622\u0646 \u0628\u0631\u062e\u06cc \u0627\u0632 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627 \u0628\u0647 \u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0628\u0631\u0627\u06cc \u0645\u0627 \u067e\u0631 \u0645\u06cc \u0634\u0648\u0646\u062f.  \u0627\u06cc\u0646 \u0628\u0647 \u0645\u0627 \u0627\u06cc\u062f\u0647 \u0631\u0648\u0634\u0646\u06cc \u0645\u06cc \u062f\u0647\u062f \u06a9\u0647 \u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u0645 \u0628\u062f\u0648\u0646 \u0627\u06cc\u0646\u06a9\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0632\u06cc\u0627\u062f\u06cc \u062f\u0631 \u0645\u0648\u0631\u062f \u0622\u0646\u0647\u0627 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u0645.<\/p>\n<h2 id=\"what-s-next\"><span class=\"ez-toc-section\" id=\"%da%86%d9%87_%d8%ae%d8%a8%d8%b1_%d8%a8%d8%b9%d8%af%db%8c\"><\/span>\u0686\u0647 \u062e\u0628\u0631 \u0628\u0639\u062f\u06cc<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ol>\n<li>\u06a9\u062f \u0645\u0646\u0628\u0639 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0631\u0627 \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f \u0648 \u0634\u0631\u0648\u0639 \u0628\u0647 \u0622\u0632\u0645\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u0647\u0631 \u062f\u0648 \u06a9\u0644\u06cc\u06a9 \u0648 \u062a\u0631\u0648\u06af\u0648\u0646 \u062f\u0627\u0631\u0627\u06cc \u0627\u0633\u0646\u0627\u062f \u0639\u0627\u0644\u06cc \u0648 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0622\u0646\u0644\u0627\u06cc\u0646 \u0647\u0633\u062a\u0646\u062f.  \u0627\u0632 \u0622\u0646\u0647\u0627 \u0628\u0647\u0631\u0647 \u0628\u0628\u0631\u06cc\u062f.<\/li>\n<li>\u06a9\u0644\u06cc\u06a9 \u0646\u0645\u0648\u0646\u0647\u200c\u0647\u0627\u06cc \u067e\u06cc\u0686\u06cc\u062f\u0647\u200c\u062a\u0631\u06cc \u062f\u0627\u0631\u062f\u060c \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u06af\u0627\u0644\u0631\u06cc \u0622\u0646\u200c\u0647\u0627 \u0631\u0627 \u0628\u0628\u06cc\u0646\u06cc\u062f.<\/li>\n<\/ol>\n<\/section>\n<p><br \/>\n<br \/>\u0645\u0646\u062a\u0634\u0631 \u0634\u062f\u0647 \u062f\u0631 1403-01-17 23:05:11<br \/>\n<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;15850&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0627\u0645\u062a\u06cc\u0627\u0632 \u0634\u0645\u0627 \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628&quot;,&quot;legend&quot;:&quot;0\\\/5 (0 \u0631\u0627\u06cc)&quot;,&quot;size&quot;:&quot;30&quot;,&quot;title&quot;:&quot;\u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc TUI \u0628\u0627 \u06a9\u0644\u06cc\u06a9 \u0648 \u062a\u0631\u0648\u06af\u0648\u0646 \u2013 \u0622\u0645\u0648\u0632\u0634 \u0644\u06cc\u0646\u0648\u06a9\u0633&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} ({count} \u0631\u0627\u06cc)&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 24px;\">\n            <span class=\"kksr-muted\">\u0627\u0645\u062a\u06cc\u0627\u0632 \u0634\u0645\u0627 \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628<\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">\u0632\u0645\u0627\u0646 \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u0645\u0637\u0627\u0644\u0639\u0647: <\/span> <span class=\"rt-time\"> 7<\/span> <span class=\"rt-label rt-postfix\">\u062f\u0642\u06cc\u0642\u0647<\/span><\/span>\u0644\u06cc\u0646\u0648\u06a9\u0633 \u0648 terminal \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627 \u062a\u0642\u0631\u06cc\u0628\u0627 \u0645\u062a\u0631\u0627\u062f\u0641 \u0647\u0633\u062a\u0646\u062f. \u0627\u06af\u0631 \u0627\u0632 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc\u06cc \u0645\u0627\u0646\u0646\u062f grep\u060c cat\u060c sed \u0648 AWK \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f\u060c \u0627\u06cc\u0646\u0647\u0627 \u0631\u0627\u0628\u0637 \u0647\u0627\u06cc \u062e\u0637 \u0641\u0631\u0645\u0627\u0646 (CLI) \u0647\u0633\u062a\u0646\u062f. \u0648 \u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u0622\u0646\u0647\u0627 \u0628\u0627 \u0647\u0645 \u06a9\u0627\u0631 \u0645\u06cc \u06a9\u0646\u0646\u062f\u060c \u0628\u0647 \u0634\u0645\u0627 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0645\u06cc \u062f\u0647\u0646\u062f \u06a9\u0647 \u0628\u0627 \u062a\u0631\u06a9\u06cc\u0628 \u0648 \u062a\u0637\u0628\u06cc\u0642 \u0686\u0646\u062f \u062f\u0633\u062a\u0648\u0631\u060c \u0642\u062f\u0631\u062a \u0631\u0627\u06cc\u0627\u0646\u0647 \u062e\u0648\u062f \u0631\u0627 [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":15851,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[207,95],"tags":[1856,4256,1313,1291,1776,1786,1779,1909,1855,4257,2123,1859,3269,2670,467,1870,1845,1785],"class_list":{"0":"post-15850","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-infra","8":"category-linux","9":"tag-linux-vps","10":"tag-tui","11":"tag-1313","12":"tag--linux","13":"tag-1776","14":"tag-1786","15":"tag-1779","16":"tag-1909","17":"tag-1855","18":"tag-4257","19":"tag-2123","20":"tag---nodejs","21":"tag-3269","22":"tag-2670","23":"tag-467","25":"tag-1845","26":"tag-1785"},"acf":[],"_links":{"self":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/posts\/15850","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/comments?post=15850"}],"version-history":[{"count":0,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/posts\/15850\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/media\/15851"}],"wp:attachment":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/media?parent=15850"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/categories?post=15850"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/tags?post=15850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}