Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added dropbox account test and command to show version info #575

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arafatx
Copy link

@arafatx arafatx commented Oct 25, 2022

Added test command to test dropbox account and run test upload, share, and delete.

eg:

<script_name> test

output:

Test file uploading ...

Uploading "/tmp/dropbox_uploader_test_file" to "/dropbox_uploader/dropbox_uploader_test_file"... DONE
[ OK ]

Test file sharing ...

Share link: https://www.dropbox.com/s/e6xul4bjyk8xdlx/dropbox_uploader_test_file?dl=0
[ OK ]

Test file deleting ...

Deleting "/dropbox_uploader/dropbox_uploader_test_file"... DONE
[ OK ]

Removing local test file ...

The above command 'test' will run automatically after a file config has been created.

Added command to show script version

eg:

<script_name> version

output

Dropbox Uploader v1.0

Added missing return 1 logic for some codes

Added test command to test dropbox account and run test upload, share, and delete.

eg:

<script_name> test

output:

Test file uploading ...
 > Uploading "/tmp/dropbox_uploader_test_file" to "/dropbox_uploader/dropbox_uploader_test_file"... DONE
 [ OK ]

Test file sharing ...
 > Share link: https://www.dropbox.com/s/e6xul4bjyk8xdlx/dropbox_uploader_test_file?dl=0
 [ OK ]

Test file deleting ...
 > Deleting "/dropbox_uploader/dropbox_uploader_test_file"... DONE
 [ OK ]

Removing local test file ...

The above command 'test' will run automatically after a file config has been created.


Added command to show script version

eg: 

<script_name> version


output

Dropbox Uploader v1.0


Added missing return 1 logic for some codes
@arafatx arafatx changed the title Update new code Added dropbox account test and command to show version info Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant