From b0e4af64f749640d1526de5feaeed340013b7dd4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 Nov 2024 06:53:27 +0000 Subject: [PATCH] Update OAFP examples --- docs/guides/oafp/oafp-examples.md | 343 +++++++++++++++--------------- 1 file changed, 176 insertions(+), 167 deletions(-) diff --git a/docs/guides/oafp/oafp-examples.md b/docs/guides/oafp/oafp-examples.md index 3bf2768..8fba3f4 100644 --- a/docs/guides/oafp/oafp-examples.md +++ b/docs/guides/oafp/oafp-examples.md @@ -85,90 +85,91 @@ Examples of use of _oafp_ avaiable also in [https://ojob.io/oafp-examples.yaml]( | Generic | RSS | [70](#70) | Builds an HTML file with the current linked news titles, publication date and source from Google News RSS. | | Generic | RSS | [71](#71) | Example of generating a HTML list of titles, links and publication dates from a RSS feed | | Generic | RSS | [72](#72) | Parses the Slashdot's RSS feed news into a quick clickable HTML page in a browser | -| Generic | Template | [73](#73) | Given a meal name will search 'The Meal DB' site for the corresponding recipe and render a markdown HTML of the corresponding recipe. | -| Generic | Text | [74](#74) | Get a json with lyrics of a song. | -| Generic | Text | [75](#75) | Search a word in the English dictionary returning phonetic, meanings, synonyms, antonyms, etc. | -| GitHub | Releases | [76](#76) | Builds a table of GitHub project releases | -| GitHub | Releases | [77](#77) | Parses the latest GitHub project release markdown notes | -| Grid | Java | [78](#78) | Parses a Java hsperf data + the current rss java process memory into a looping grid. | -| Grid | Java | [79](#79) | Parses a Java hsperf data into a looping grid. | -| Grid | Kubernetes | [80](#80) | Displays a continuous updating grid with a line chart with the number of CPU throtlles and bursts recorded in the Linux cgroup cpu stats of a container running in Kubernetes and the source cpu.stats data | -| Grid | Mac | [81](#81) | Shows a grid with the Mac network metrics and 4 charts for in, out packets and in, out bytes | -| Grid | Mac | [82](#82) | Shows a grid with the Mac storage metrics and 4 charts for read, write IOPS and read, write bytes per second | -| Grid | Unix | [83](#83) | On an Unix/Linux system supporting 'ps' output formats %cpu and %mem, will output a chart with the percentage of cpu and memory usage of a provided pid (e.g. 12345) | -| JSON Schemas | Lists | [84](#84) | Get a list of JSON schemas from Schema Store catalog | -| Kubernetes | Containers | [85](#85) | Parse the Linux cgroup cpu stats on a container running in Kubernetes | -| Kubernetes | Kubectl | [86](#86) | Build an output table with Kubernetes pods with namespace, pod name, container name and corresponding resources using kubectl | -| Kubernetes | Kubectl | [87](#87) | Build an output table with Kubernetes pods with node, namespace, pod name, container name and corresponding resources using kubectl | -| Kubernetes | Kubectl | [88](#88) | Executes a recursive file list find command in a specific pod, namespace and path converting the result into a table. | -| Kubernetes | Kubectl | [89](#89) | Given the list of all Kubernetes objects will produce a list of objects per namespace, kind, apiVersiom, creation timestamp, name and owner. | -| Kubernetes | Kubectl | [90](#90) | List of Kubernetes CPU, memory and storage stats per node using kubectl | -| Kubernetes | Kubectl | [91](#91) | List of Kubernetes pods per namespace and kind using kubectl | -| Kubernetes | Kubectl | [92](#92) | Produces a list of pods' containers per namespace with the corresponding images and assigned nodes. | -| Kubernetes | PVC | [93](#93) | Produces a table with all Kubernetes persistent volume claims (PVCs) in use by pods. | -| Mac | Activity | [94](#94) | Uses the Mac terminal command 'last' output to build an activity table with user, tty, from, login-time and logout-time | -| Mac | Brew | [95](#95) | List all the packages and corresponding versions installed in a Mac by brew. | -| Mac | Info | [96](#96) | Parses the current Mac OS hardware information | -| Mac | Info | [97](#97) | Parses the current Mac OS overview information | -| Mac | Safari | [98](#98) | Get a list of all Mac OS Safari bookmarks into a CSV file. | -| Mac | Tunnelblink | [99](#99) | In a Mac OS with Tunnelblink, if you want to copy all your OpenVPN configurations into ovpn files. | -| Markdown | Tables | [100](#100) | For an input markdown file, parse all tables, transform it to JSON and output as a colored table | -| Network | ASN | [101](#101) | Retrieve an IP to ASN list list and converts it to ndjson | -| Network | ASN | [102](#102) | Retrieve the list of ASN number and names from RIPE and transforms it to a CSV. | -| Network | Latency | [103](#103) | Given a host and a port will display a continuously updating line chart with network latency, in ms, between the current device and the target host and port | -| Ollama | List models | [104](#104) | Parses the list of models currently in an Ollama deployment | -| OpenAF | Channels | [105](#105) | Copy the json result of a command into an etcd database using OpenAF's channels | -| OpenAF | Channels | [106](#106) | Getting all data stored in an etcd database using OpenAF's channels | -| OpenAF | Channels | [107](#107) | Given a Prometheus database will query for a specific metric (go_memstats_alloc_bytes), during a defined period, every 5 seconds (step) will produce a static chart with the corresponding metric values. | -| OpenAF | Channels | [108](#108) | Perform a query to a metric & label, with a start and end time, to a Prometheus server using OpenAF's channels | -| OpenAF | Channels | [109](#109) | Retrieve all keys stores in a H2 MVStore file using OpenAF's channels | -| OpenAF | Channels | [110](#110) | Store and retrieve data from a Redis database | -| OpenAF | Channels | [111](#111) | Store and retrieve data from a RocksDB database | -| OpenAF | Channels | [112](#112) | Store the json results of a command into a H2 MVStore file using OpenAF's channels | -| OpenAF | Network | [113](#113) | List all MX (mail servers) network addresses from the current DNS server for a hostname using OpenAF | -| OpenAF | Network | [114](#114) | List all network addresses returned from the current DNS server for a hostname using OpenAF | -| OpenAF | OS | [115](#115) | Current OS information visible to OpenAF | -| OpenAF | OS | [116](#116) | Using OpenAF parse the current environment variables | -| OpenAF | OpenVPN | [117](#117) | Using OpenAF code to perform a more complex parsing of the OpenVPN status data running on an OpenVPN container (nmaguiar/openvpn) called 'openvpn' | -| OpenAF | SFTP | [118](#118) | Generates a file list with filepath, size, permissions, create and last modified time from a SFTP connection with user and password | -| OpenAF | SFTP | [119](#119) | Generates a file list with filepath, size, permissions, create and last modified time from a SFTP connection with user, private key and password | -| OpenAF | TLS | [120](#120) | List the TLS certificates of a target host with a sorted alternative names using OpenAF | -| OpenAF | oJob.io | [121](#121) | Parses ojob.io/news results into a clickable news title HMTL page. | -| OpenAF | oJob.io | [122](#122) | Retrieves the list of oJob.io's jobs and filters which start by 'ojob.io/news' to display them in a rectangle | -| OpenAF | oPacks | [123](#123) | Listing all currently accessible OpenAF's oPacks | -| OpenAF | oafp | [124](#124) | Filter the OpenAF's oafp examples list by a specific word in the description | -| OpenAF | oafp | [125](#125) | List the OpenAF's oafp examples by category, sub-category and description | -| OpenVPN | List | [126](#126) | When using the container nmaguiar/openvpn it's possible to convert the list of all clients order by expiration/end date | -| Unix | Activity | [127](#127) | Uses the Linux command 'last' output to build a table with user, tty, from and period of activity for Debian based Linuxs | -| Unix | Activity | [128](#128) | Uses the Linux command 'last' output to build a table with user, tty, from and period of activity for RedHat based Linuxs | -| Unix | Alpine | [129](#129) | List all installed packages in an Alpine system | -| Unix | Compute | [130](#130) | Parses the Linux /proc/cpuinfo into an array | -| Unix | Debian/Ubuntu | [131](#131) | List all installed packages in a Debian/Ubuntu system | -| Unix | Envs | [132](#132) | Converts the Linux envs command result into a table of environment variables and corresponding values | -| Unix | Files | [133](#133) | Converting the Linux's /etc/os-release to SQL insert statements. | -| Unix | Files | [134](#134) | Converting the Unix's syslog into a json output. | -| Unix | Files | [135](#135) | Executes a recursive file list find command converting the result into a table. | -| Unix | Files | [136](#136) | Parses the Linux /etc/passwd to a table order by uid and gid. | -| Unix | Generic | [137](#137) | Creates, in unix, a data.ndjson file where each record is formatted from json files in /some/data | -| Unix | Memory map | [138](#138) | Given an Unix process will output a table with process's components memory address, size in bytes, permissions and owner | -| Unix | Network | [139](#139) | Loop over the current Linux active network connections | -| Unix | Network | [140](#140) | Parse the Linux 'arp' command output | -| Unix | Network | [141](#141) | Parse the Linux 'ip tcp_metrics' command | -| Unix | Network | [142](#142) | Parse the result of the Linux route command | -| Unix | OpenSuse | [143](#143) | List all installed packages in an OpenSuse system or zypper based system | -| Unix | RedHat | [144](#144) | List all installed packages in a RedHat system or rpm based system (use rpm --querytags to list all fields available) | -| Unix | Storage | [145](#145) | Converting the Unix's df output | -| Unix | Storage | [146](#146) | Parses the result of the Unix ls command | -| Unix | SystemCtl | [147](#147) | Converting the Unix's systemctl list-timers | -| Unix | SystemCtl | [148](#148) | Converting the Unix's systemctl list-units | -| Unix | SystemCtl | [149](#149) | Converting the Unix's systemctl list-units into an overview table | -| Unix | UBI | [150](#150) | List all installed packages in an UBI system | -| Unix | named | [151](#151) | Converts a Linux's named log, for client queries, into a CSV | -| Windows | Network | [152](#152) | Output a table with the current route table using Windows' PowerShell | -| Windows | Network | [153](#153) | Output a table with the list of network interfaces using Windows' PowerShell | -| Windows | PnP | [154](#154) | Output a table with USB/PnP devices using Windows' PowerShell | -| Windows | Storage | [155](#155) | Output a table with the attached disk information using Windows' PowerShell | -| XML | Maven | [156](#156) | Given a Maven pom.xml parses the XML content to a colored table ordering by the fields groupId and artifactId. | +| Generic | Set | [73](#73) | Given two json files, with arrays of component versions, generate a table with the difference on one of the sides. | +| Generic | Template | [74](#74) | Given a meal name will search 'The Meal DB' site for the corresponding recipe and render a markdown HTML of the corresponding recipe. | +| Generic | Text | [75](#75) | Get a json with lyrics of a song. | +| Generic | Text | [76](#76) | Search a word in the English dictionary returning phonetic, meanings, synonyms, antonyms, etc. | +| GitHub | Releases | [77](#77) | Builds a table of GitHub project releases | +| GitHub | Releases | [78](#78) | Parses the latest GitHub project release markdown notes | +| Grid | Java | [79](#79) | Parses a Java hsperf data + the current rss java process memory into a looping grid. | +| Grid | Java | [80](#80) | Parses a Java hsperf data into a looping grid. | +| Grid | Kubernetes | [81](#81) | Displays a continuous updating grid with a line chart with the number of CPU throtlles and bursts recorded in the Linux cgroup cpu stats of a container running in Kubernetes and the source cpu.stats data | +| Grid | Mac | [82](#82) | Shows a grid with the Mac network metrics and 4 charts for in, out packets and in, out bytes | +| Grid | Mac | [83](#83) | Shows a grid with the Mac storage metrics and 4 charts for read, write IOPS and read, write bytes per second | +| Grid | Unix | [84](#84) | On an Unix/Linux system supporting 'ps' output formats %cpu and %mem, will output a chart with the percentage of cpu and memory usage of a provided pid (e.g. 12345) | +| JSON Schemas | Lists | [85](#85) | Get a list of JSON schemas from Schema Store catalog | +| Kubernetes | Containers | [86](#86) | Parse the Linux cgroup cpu stats on a container running in Kubernetes | +| Kubernetes | Kubectl | [87](#87) | Build an output table with Kubernetes pods with namespace, pod name, container name and corresponding resources using kubectl | +| Kubernetes | Kubectl | [88](#88) | Build an output table with Kubernetes pods with node, namespace, pod name, container name and corresponding resources using kubectl | +| Kubernetes | Kubectl | [89](#89) | Executes a recursive file list find command in a specific pod, namespace and path converting the result into a table. | +| Kubernetes | Kubectl | [90](#90) | Given the list of all Kubernetes objects will produce a list of objects per namespace, kind, apiVersiom, creation timestamp, name and owner. | +| Kubernetes | Kubectl | [91](#91) | List of Kubernetes CPU, memory and storage stats per node using kubectl | +| Kubernetes | Kubectl | [92](#92) | List of Kubernetes pods per namespace and kind using kubectl | +| Kubernetes | Kubectl | [93](#93) | Produces a list of pods' containers per namespace with the corresponding images and assigned nodes. | +| Kubernetes | PVC | [94](#94) | Produces a table with all Kubernetes persistent volume claims (PVCs) in use by pods. | +| Mac | Activity | [95](#95) | Uses the Mac terminal command 'last' output to build an activity table with user, tty, from, login-time and logout-time | +| Mac | Brew | [96](#96) | List all the packages and corresponding versions installed in a Mac by brew. | +| Mac | Info | [97](#97) | Parses the current Mac OS hardware information | +| Mac | Info | [98](#98) | Parses the current Mac OS overview information | +| Mac | Safari | [99](#99) | Get a list of all Mac OS Safari bookmarks into a CSV file. | +| Mac | Tunnelblink | [100](#100) | In a Mac OS with Tunnelblink, if you want to copy all your OpenVPN configurations into ovpn files. | +| Markdown | Tables | [101](#101) | For an input markdown file, parse all tables, transform it to JSON and output as a colored table | +| Network | ASN | [102](#102) | Retrieve an IP to ASN list list and converts it to ndjson | +| Network | ASN | [103](#103) | Retrieve the list of ASN number and names from RIPE and transforms it to a CSV. | +| Network | Latency | [104](#104) | Given a host and a port will display a continuously updating line chart with network latency, in ms, between the current device and the target host and port | +| Ollama | List models | [105](#105) | Parses the list of models currently in an Ollama deployment | +| OpenAF | Channels | [106](#106) | Copy the json result of a command into an etcd database using OpenAF's channels | +| OpenAF | Channels | [107](#107) | Getting all data stored in an etcd database using OpenAF's channels | +| OpenAF | Channels | [108](#108) | Given a Prometheus database will query for a specific metric (go_memstats_alloc_bytes), during a defined period, every 5 seconds (step) will produce a static chart with the corresponding metric values. | +| OpenAF | Channels | [109](#109) | Perform a query to a metric & label, with a start and end time, to a Prometheus server using OpenAF's channels | +| OpenAF | Channels | [110](#110) | Retrieve all keys stores in a H2 MVStore file using OpenAF's channels | +| OpenAF | Channels | [111](#111) | Store and retrieve data from a Redis database | +| OpenAF | Channels | [112](#112) | Store and retrieve data from a RocksDB database | +| OpenAF | Channels | [113](#113) | Store the json results of a command into a H2 MVStore file using OpenAF's channels | +| OpenAF | Network | [114](#114) | List all MX (mail servers) network addresses from the current DNS server for a hostname using OpenAF | +| OpenAF | Network | [115](#115) | List all network addresses returned from the current DNS server for a hostname using OpenAF | +| OpenAF | OS | [116](#116) | Current OS information visible to OpenAF | +| OpenAF | OS | [117](#117) | Using OpenAF parse the current environment variables | +| OpenAF | OpenVPN | [118](#118) | Using OpenAF code to perform a more complex parsing of the OpenVPN status data running on an OpenVPN container (nmaguiar/openvpn) called 'openvpn' | +| OpenAF | SFTP | [119](#119) | Generates a file list with filepath, size, permissions, create and last modified time from a SFTP connection with user and password | +| OpenAF | SFTP | [120](#120) | Generates a file list with filepath, size, permissions, create and last modified time from a SFTP connection with user, private key and password | +| OpenAF | TLS | [121](#121) | List the TLS certificates of a target host with a sorted alternative names using OpenAF | +| OpenAF | oJob.io | [122](#122) | Parses ojob.io/news results into a clickable news title HMTL page. | +| OpenAF | oJob.io | [123](#123) | Retrieves the list of oJob.io's jobs and filters which start by 'ojob.io/news' to display them in a rectangle | +| OpenAF | oPacks | [124](#124) | Listing all currently accessible OpenAF's oPacks | +| OpenAF | oafp | [125](#125) | Filter the OpenAF's oafp examples list by a specific word in the description | +| OpenAF | oafp | [126](#126) | List the OpenAF's oafp examples by category, sub-category and description | +| OpenVPN | List | [127](#127) | When using the container nmaguiar/openvpn it's possible to convert the list of all clients order by expiration/end date | +| Unix | Activity | [128](#128) | Uses the Linux command 'last' output to build a table with user, tty, from and period of activity for Debian based Linuxs | +| Unix | Activity | [129](#129) | Uses the Linux command 'last' output to build a table with user, tty, from and period of activity for RedHat based Linuxs | +| Unix | Alpine | [130](#130) | List all installed packages in an Alpine system | +| Unix | Compute | [131](#131) | Parses the Linux /proc/cpuinfo into an array | +| Unix | Debian/Ubuntu | [132](#132) | List all installed packages in a Debian/Ubuntu system | +| Unix | Envs | [133](#133) | Converts the Linux envs command result into a table of environment variables and corresponding values | +| Unix | Files | [134](#134) | Converting the Linux's /etc/os-release to SQL insert statements. | +| Unix | Files | [135](#135) | Converting the Unix's syslog into a json output. | +| Unix | Files | [136](#136) | Executes a recursive file list find command converting the result into a table. | +| Unix | Files | [137](#137) | Parses the Linux /etc/passwd to a table order by uid and gid. | +| Unix | Generic | [138](#138) | Creates, in unix, a data.ndjson file where each record is formatted from json files in /some/data | +| Unix | Memory map | [139](#139) | Given an Unix process will output a table with process's components memory address, size in bytes, permissions and owner | +| Unix | Network | [140](#140) | Loop over the current Linux active network connections | +| Unix | Network | [141](#141) | Parse the Linux 'arp' command output | +| Unix | Network | [142](#142) | Parse the Linux 'ip tcp_metrics' command | +| Unix | Network | [143](#143) | Parse the result of the Linux route command | +| Unix | OpenSuse | [144](#144) | List all installed packages in an OpenSuse system or zypper based system | +| Unix | RedHat | [145](#145) | List all installed packages in a RedHat system or rpm based system (use rpm --querytags to list all fields available) | +| Unix | Storage | [146](#146) | Converting the Unix's df output | +| Unix | Storage | [147](#147) | Parses the result of the Unix ls command | +| Unix | SystemCtl | [148](#148) | Converting the Unix's systemctl list-timers | +| Unix | SystemCtl | [149](#149) | Converting the Unix's systemctl list-units | +| Unix | SystemCtl | [150](#150) | Converting the Unix's systemctl list-units into an overview table | +| Unix | UBI | [151](#151) | List all installed packages in an UBI system | +| Unix | named | [152](#152) | Converts a Linux's named log, for client queries, into a CSV | +| Windows | Network | [153](#153) | Output a table with the current route table using Windows' PowerShell | +| Windows | Network | [154](#154) | Output a table with the list of network interfaces using Windows' PowerShell | +| Windows | PnP | [155](#155) | Output a table with USB/PnP devices using Windows' PowerShell | +| Windows | Storage | [156](#156) | Output a table with the attached disk information using Windows' PowerShell | +| XML | Maven | [157](#157) | Given a Maven pom.xml parses the XML content to a colored table ordering by the fields groupId and artifactId. | ## 📗 Examples @@ -830,6 +831,14 @@ RSS="http://rss.slashdot.org/Slashdot/slashdot" && oafp url="$RSS" path="RDF.ite --- ##### 73 +### 📖 Generic | Set +Given two json files, with arrays of component versions, generate a table with the difference on one of the sides. +```bash +oafp data="[(file: versions-latest.json)|(file: versions-build.json)]" in=oafp set="(a:'[0]',b:'[1]')" setop=diffb out=ctable +``` +--- + +##### 74 ### 📖 Generic | Template Given a meal name will search 'The Meal DB' site for the corresponding recipe and render a markdown HTML of the corresponding recipe. ```bash @@ -837,7 +846,7 @@ MEAL="Pizza" && echo "# {{strMeal}}\n> {{strCategory}} | {{strArea}}\n data.ndjson ``` --- -##### 138 +##### 139 ### 📖 Unix | Memory map Given an Unix process will output a table with process's components memory address, size in bytes, permissions and owner ```bash @@ -1373,7 +1382,7 @@ pmap 12345 | sed '1d;$d' | oafp in=lines linesjoin=true path="[].split_re(@, '\\ ``` --- -##### 139 +##### 140 ### 📖 Unix | Network Loop over the current Linux active network connections ```bash @@ -1381,7 +1390,7 @@ oafp cmd="netstat -tun | sed \"1d\"" in=lines linesvisual=true linesjoin=true li ``` --- -##### 140 +##### 141 ### 📖 Unix | Network Parse the Linux 'arp' command output ```bash @@ -1389,7 +1398,7 @@ arp | oafp in=lines linesvisual=true linesjoin=true out=ctable ``` --- -##### 141 +##### 142 ### 📖 Unix | Network Parse the Linux 'ip tcp_metrics' command ```bash @@ -1397,7 +1406,7 @@ ip tcp_metrics | sed 's/^/target: /g' | sed 's/$/\n\n---\n/g' | sed 's/ \([a-z]* ``` --- -##### 142 +##### 143 ### 📖 Unix | Network Parse the result of the Linux route command ```bash @@ -1405,7 +1414,7 @@ route | sed "1d" | oafp in=lines linesjoin=true linesvisual=true linesvisualsepr ``` --- -##### 143 +##### 144 ### 📖 Unix | OpenSuse List all installed packages in an OpenSuse system or zypper based system ```bash @@ -1413,7 +1422,7 @@ zypper se -is | egrep "^i" | oafp in=lines linesjoin=true path="[].split(@,'|'). ``` --- -##### 144 +##### 145 ### 📖 Unix | RedHat List all installed packages in a RedHat system or rpm based system (use rpm --querytags to list all fields available) ```bash @@ -1421,7 +1430,7 @@ rpm -qa --qf "%{NAME}|%{VERSION}|%{PACKAGER}|%{VENDOR}|%{ARCH}\n" | oafp in=line ``` --- -##### 145 +##### 146 ### 📖 Unix | Storage Converting the Unix's df output ```bash @@ -1429,7 +1438,7 @@ df --output=target,fstype,size,used,avail,pcent | tail -n +2 | oafp in=lines lin ``` --- -##### 146 +##### 147 ### 📖 Unix | Storage Parses the result of the Unix ls command ```bash @@ -1437,7 +1446,7 @@ ls -lad --time-style="+%Y-%m-%d %H:%M" * | oafp in=lines path="map(&split_re(@,' ``` --- -##### 147 +##### 148 ### 📖 Unix | SystemCtl Converting the Unix's systemctl list-timers ```bash @@ -1445,7 +1454,7 @@ systemctl list-timers | head -n -3 | oafp in=lines linesvisual=true linesjoin=tr ``` --- -##### 148 +##### 149 ### 📖 Unix | SystemCtl Converting the Unix's systemctl list-units ```bash @@ -1453,7 +1462,7 @@ systemctl list-units | head -n -6 | oafp in=lines linesvisual=true linesjoin=tru ``` --- -##### 149 +##### 150 ### 📖 Unix | SystemCtl Converting the Unix's systemctl list-units into an overview table ```bash @@ -1461,7 +1470,7 @@ systemctl list-units | head -n -6 | oafp in=lines linesvisual=true linesjoin=tru ``` --- -##### 150 +##### 151 ### 📖 Unix | UBI List all installed packages in an UBI system ```bash @@ -1469,7 +1478,7 @@ microdnf repoquery --setopt=cachedir=/tmp --installed | oafp in=lines linesjoin= ``` --- -##### 151 +##### 152 ### 📖 Unix | named Converts a Linux's named log, for client queries, into a CSV ```bash @@ -1477,7 +1486,7 @@ cat named.log | oafp in=lines linesjoin=true path="[?contains(@,' client ')==\`t ``` --- -##### 152 +##### 153 ### 📖 Windows | Network Output a table with the current route table using Windows' PowerShell ```bash @@ -1485,7 +1494,7 @@ Get-NetRoute | ConvertTo-Json | .\oafp.bat path="[].{destination:DestinationPref ``` --- -##### 153 +##### 154 ### 📖 Windows | Network Output a table with the list of network interfaces using Windows' PowerShell ```bash @@ -1493,7 +1502,7 @@ Get-NetIPAddress | ConvertTo-Json | .\oafp.bat path="[].{ipAddress:IPAddress,pre ``` --- -##### 154 +##### 155 ### 📖 Windows | PnP Output a table with USB/PnP devices using Windows' PowerShell ```bash @@ -1501,7 +1510,7 @@ Get-PnpDevice -PresentOnly | ConvertTo-Csv -NoTypeInformation | .\oafp.bat in=cs ``` --- -##### 155 +##### 156 ### 📖 Windows | Storage Output a table with the attached disk information using Windows' PowerShell ```bash @@ -1509,7 +1518,7 @@ Get-Disk | ConvertTo-Csv -NoTypeInformation | .\oafp.bat in=csv path="[].{id:tri ``` --- -##### 156 +##### 157 ### 📖 XML | Maven Given a Maven pom.xml parses the XML content to a colored table ordering by the fields groupId and artifactId. ```bash