Skip to content

Kxrr/nutstore-cli

Repository files navigation

NutStore CLI

VERSION PYVERSION

坚果云 WebDAV 命令行工具

A command-line interface for NutStore based on WebDAV.

Inspired by http-prompt.

Screenshot

https://asciinema.org/a/T0AwPltSoPZYSYQ7OHQng15rg

Install

Only works on Python2.7 now

$ pip install nutstore-cli

How to setup WebDAV on NutStore

https://github.com/Kxrr/nutstore-cli/blob/master/docs/tutorial.md

Usage

$ nutstore-cli --help

Config

Config by a config file

Nutstore-cli will try to load the config file in ~/.nutstore.config whose format should like .nutstore.config.example.

Config by environment variable

  • NUTSTORE_USERNAME
  • NUTSTORE_KEY
  • NUTSTORE_WORKING_DIR

Config by command-line args

You can pass args like --username=i@example.com directly to nutstore-cli, use Nutstore-cli --help to see all command-line args that we support.

Debugging

Set the environment variable DEBUG to 1 to print the debug output.

Contributing

You're highly encouraged to participate in the development of this project.

All the developing works is on the dev branch.

By the way, because of lack of documents and tests, please feel free to make a issue before developing if you have any questions.

TODO

See TODO.md

About

A command-line interface for NutStore.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages