diff --git a/.github/readme/Guh.png b/.github/readme/Guh.png new file mode 100644 index 0000000..fb83407 Binary files /dev/null and b/.github/readme/Guh.png differ diff --git a/.github/readme/Guh.svg b/.github/readme/Guh.svg new file mode 100644 index 0000000..ec39bdd --- /dev/null +++ b/.github/readme/Guh.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/DOCS.md b/DOCS.md index 61a4c91..b2cae96 100644 --- a/DOCS.md +++ b/DOCS.md @@ -6,13 +6,21 @@ - [`account`](#account) - [`account save`](#account-save) - [`account switch`](#account-switch) + - [`account edit`](#account-edit) - [`branch`](#branch) - [`branch create`](#branch-create) - [`branch switch`](#branch-switch) - [`branch rename`](#branch-rename) + - [`branch delete`](#branch-delete) - [`browse`](#browse) - [`browse issues`](#browse-issues) - [`browse pr`](#browse-pr) +- [`cli`](#cli) + - [`cli install`](#cli-install) + - [`cli remove`](#cli-remove) + - [`cli update`](#cli-update) + - [`cli version`](#cli-version) +- [`clone`](#clone) - [`commit`](#commit) - [`diff`](#diff) - [`init`](#init) @@ -60,6 +68,16 @@ guh account switch Sets `credential.helper` to `store`, updates `user.name` and `user.email` in global git config, and overwrites `~/.git-credentials` with the stored token. The account must have been saved with `guh account save` first. +### `account edit` + +Edit accounts.json via the supported code editor + +``` +guh account edit +``` + +Opens the supported code editor; "nano", "code", "zed", "zeditor", "vi", "vim", "emacs", "notepad.exe" + --- ## `branch` @@ -95,6 +113,16 @@ guh branch rename Equivalent to `git branch -m `. +### `branch delete` + +Delete the selected branch. + +``` +guh branch delete +``` + +Equivalent to `git branch -D `. + --- ## `browse` @@ -133,6 +161,44 @@ guh browse print --- +## `cli` + +### `cli install` +Installs `guh` binary to your system directly with env variable. + +``` +guh cli install +``` + +### `cli remove` +Deletes `guh` binary in your system with the env variable. + +``` +guh cli remove +``` + +> [!WARNING] +> Windows' permission issue may cause it to not delete. We have provided a command for you to delete through the terminal for you to run. We can't do anything about it because of *cough* windows + +### `cli update` +Updates `guh` binary in your system. + +``` +guh cli update +``` + +> [!WARNING] +> Windows' permission issue may cause it to not update. We have provided a command for you to update through the terminal for you to run. We can't do anything about it because of *cough* windows + +### `cli version` +Shows your `guh` binary hash[:7] version through git's commit. + +``` +guh cli version +``` + +--- + ## `commit` Add files and commit changes. Shows `git status --short` before committing. Optionally pushes after commit. diff --git a/README.md b/README.md index f345bd4..1eaa418 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,14 @@ -# GUH (Git Utility(For) Helper(Noobs)) -Want to use the Git CLI and don't want to use the GitHub Desktop because you're "too cool"? But you don't know how to even use the git CLI? We've got you covered. +
+
+ Guh +
+
+

GUH (Git Utility(For) Helper(Noobs))

+ Want to use the Git CLI and don't want to use the GitHub Desktop because you're "too cool"? But you don't know how to even use the git CLI? We've got you covered. +
+
+ +--- This tool is a simple CLI tool that wraps the git CLI (from `os/exec`) and provides a simple command-line interface for new Git CLI users.