Pi CLI
v20240309-041106


pihole-FTL.db ใช้ที่เก็บข้อมูลระยะยาวสำหรับ pi-hole มันสามารถแยกและวิเคราะห์ข้อมูลตลอดเวลารวมถึงไคลเอนต์แบบสอบถามและข้อมูลโดเมนโฆษณา~$ picli [global options] command [command options] [arguments...] สำหรับความช่วยเหลือ Run ~$ picli h
สำหรับความช่วยเหลือคำสั่ง run ~$ picli <command> h
สำหรับความช่วยเหลือจากคำสั่งย่อยให้เรียกใช้ ~$ picli <command> -h
setup, s Configure Pi-CLI
config, c Interact with stored configuration settings
run, r Run a one off command without booting the live view
database, d Analytics options to run on a Pi-Hole's FTL database
help, h Shows a list of commands or help for one command
configจัดการข้อมูลการกำหนดค่าที่เก็บไว้
delete, d Delete stored config data (config file and API key)
view, v View config stored config data (config file and API key)
help, h Shows a list of commands or help for one command
runเรียกใช้คำสั่งเดียวโดยไม่ต้องดูสด
summary, s Extract a basic summary of data from the Pi-Hole
top-forwarded, tf Extract the current top 10 forwarded DNS queries
top-blocked, tb Extract the current top 10 blocked DNS queries
latest-queries, lq Extract the latest queries
enable, e Enable the Pi-Hole
disable, d Disable the Pi-Hole
help, h Shows a list of commands or help for one command
databaseคำสั่งเหล่านี้เรียกใช้กับไฟล์ฐานข้อมูล FTL ของ Pi-Hole และให้ข้อมูลตัวชี้วัดข้อมูล ตลอดเวลา
client-summary, cs Summary of all Pi-Hole clients
top-queries, tq Returns the top (all time) queries
help, h Shows a list of commands or help for one command
ฉันจะได้รับคีย์ API ของฉันที่ไหน
ไบนารีคอมไพล์ล่วงหน้า?
ฉันจะรวบรวมตัวเองได้อย่างไร?
Makefile ในไดเรกทอรี CMD/Main ที่สามารถใช้สำหรับการรวบรวมบน Windows, Mac และ Linux เป้าหมายการรวบรวมคือ: win , mac และ linux
หากคุณพบว่ามีประโยชน์ pi-cli โปรดพิจารณาบริจาคให้กับโครงการ Pi-Hole
หรืออย่าลังเลที่จะส่งรหัสเพื่อให้ pi-cli มีประโยชน์มากยิ่งขึ้น!