Skip to content

Commit

Permalink
Full rewrite
Browse files Browse the repository at this point in the history
use a improved argument parser

add a -- flag, to treat all input as file or folder or drive id input

stop using set -e anywhere

add a improved config parser

fix all edgecases in authentication

commonize more code as possible

move update code to update.sh

do not edit zshrc or bashrc with the install script, instead show a help text on what to add to the zshrc or bashrc

move all files to src folder and release scripts in release folder

fix all shellcheck warnings

resolve labbots#174 labbots#176
  • Loading branch information
Akianonymus committed May 16, 2022
1 parent 6b97c21 commit 8f9eca5
Show file tree
Hide file tree
Showing 44 changed files with 7,848 additions and 10,403 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ jobs:
set -e
{ { command -v apt-get && sudo apt-get install snapd -yqq && sudo snap install shfmt ;} ||
{ command -v brew && brew install shfmt ;} ;} 2>| /dev/null 1>&2
sh merge.sh
sh release.sh
{ [ -n "$(git diff)" ] && printf "%s\n" "Error: Format scripts and run merge.sh before pushing the commits." && git diff && exit 1 ;} || :
1 change: 0 additions & 1 deletion README.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ It utilizes google drive api v3 and google OAuth2.0 to generate access tokens an

Installation and Usage documentation is available at [https://labbots.github.io/google-drive-upload/](https://labbots.github.io/google-drive-upload/)


## Reporting Issues

| Issues Status | [![GitHub issues](https://img.shields.io/github/issues/labbots/google-drive-upload.svg?label=&style=for-the-badge)](https://github.com/labbots/google-drive-upload/issues/) | [![GitHub issues-closed](https://img.shields.io/github/issues-closed/labbots/google-drive-upload.svg?label=&color=success&style=for-the-badge)](https://github.com/labbots/google-drive-upload/issues?q=is%3Aissue+is%3Aclosed) |
Expand Down
502 changes: 0 additions & 502 deletions bash/auth-utils.bash

This file was deleted.

Loading

0 comments on commit 8f9eca5

Please sign in to comment.