Skip to content

Commit

Permalink
GPT-commit: ℹ️ Update README, lib.class, & cache files for optimization.
Browse files Browse the repository at this point in the history
ℹ️ Modified `README.md` to optimize project documentation, `lib.class` in `src/classes/lib` for improved functionality, and `.cache` files in `src/data` for enhanced performance.
  • Loading branch information
hwixley committed Feb 20, 2024
1 parent c482fa1 commit 8a41b26
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ Please note any command with an argument in angle brackets below (ie. `<branch>`
<i>**\*\*Note: all commands below should be preceded by the `wyx` command, this was ommitted for readability.\*\***</i>
<br>
### VERSION:
- `version`: WYX-CLI Version
### SYSTEM:
- `sys-info`: Get Detailed System Information
### DEPENDENCIES:
- `install-deps`: Install WYX-CLI dependencies
- `update-deps`: Update the project dependencies
Expand Down Expand Up @@ -203,6 +209,9 @@ Please note any command with an argument in angle brackets below (ie. `<branch>`
- `lastcmd`: Copy Your Last Command To Your Clipboard
- `copy`: Copy output of a command to clipboard
### WEB UTILITIES:
- `webtext`: Read-only websites in your terminal
### MISC UTILITIES:
- `weather`: View the weather forecast for your location in the terminal
- `moon`: View the moon phase
Expand Down
5 changes: 2 additions & 3 deletions src/classes/lib/lib.class
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ lib.csv.all(){
continue
fi
IFS=$'\n' scripts=($(lib.csv.query "arg_scripts" "id" "where category_id='$category'"))
if [ sys.os.mac ] && [ "${scripts[2]}" = "" ]; then
continue
elif [ "${scripts[1]}" = "" ]; then

if [ "${scripts[1]}" = "" ]; then
continue
fi
cat=$(lib.csv.query.one 'arg_categories' 'name' "where id='$category'")
Expand Down
9 changes: 9 additions & 0 deletions src/data/.cache/cmdinfo.git.wyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### VERSION:
- `version`: WYX-CLI Version

### SYSTEM:
- `sys-info`: Get Detailed System Information

### DEPENDENCIES:
- `install-deps`: Install WYX-CLI dependencies
- `update-deps`: Update the project dependencies
Expand Down Expand Up @@ -71,6 +77,9 @@
- `lastcmd`: Copy Your Last Command To Your Clipboard
- `copy`: Copy output of a command to clipboard

### WEB UTILITIES:
- `webtext`: Read-only websites in your terminal

### MISC UTILITIES:
- `weather`: View the weather forecast for your location in the terminal
- `moon`: View the moon phase
Expand Down
9 changes: 9 additions & 0 deletions src/data/.cache/cmdinfo.term.wyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
VERSION:
- version: WYX-CLI Version

SYSTEM:
- sys-info: Get Detailed System Information

DEPENDENCIES:
- install-deps: Install WYX-CLI dependencies
- update-deps: Update the project dependencies
Expand Down Expand Up @@ -71,6 +77,9 @@
- lastcmd: Copy Your Last Command To Your Clipboard
- copy: Copy output of a command to clipboard

WEB UTILITIES:
- webtext: Read-only websites in your terminal

MISC UTILITIES:
- weather: View the weather forecast for your location in the terminal
- moon: View the moon phase
Expand Down

0 comments on commit 8a41b26

Please sign in to comment.