gonedrive

command module
v0.0.0-...-ed74313 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

Go Report Card Coverage Status Actions Status License

Gonedrive

A CLI to use OneDrive in the terminal.

Installation

You can use the binary in the release or build a new binary from source.

From source

Build Gonedrive from the source files:

git clone https://github.com/langered/gonedrive.git
cd gonedrive
make build

Usage

At first you have to authenticate yourself to microsoft in order to get access to the data you stored in your OneDrive Account. Run:

gonedrive login

This will redirect you to the login page of Microsoft. After a successful login, Gonedrive receives the token and stores it in your config file. The default location for the config file is in your homedirectory ~/.gonedrive.yml The received token is valid for 1 hour.

Documentation

Each command is documented in the doc folder

Using Docker

This Repository also contains docker-images which you can find here.

To get the latest image, which is built from master, run:

docker pull docker.pkg.github.com/langered/gonedrive/gonedrive:latest

When using the Dockerfile, you have to mount the local config-file to the docker image.

Example:

docker run -v $HOME/.gonedrive.yml:/.gonedrive.yml gonedrive [command]

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
fakes
mock_browser
Package mock_browser is a generated GoMock package.
Package mock_browser is a generated GoMock package.
mock_httpclient
Package mock_httpclient is a generated GoMock package.
Package mock_httpclient is a generated GoMock package.
mock_storeclient
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL