Command line interface for dnres package.
Project description
dnres-cli
Command line utility to be used along with dnres python package.
Usage
Parse config
$ dnres config.ini
The above command performs the following:
- Checks for errors in
config.ini
- Builds structure and database if they don't exist.
- Prints stored python objects and files.
Print contents of stored data
$ dnres config.ini cat --help
For files, the following filetypes are supported for printing:
.csv
.tsv
.xls
.xlsx
For python objects, the following classes are supported:
dict
list
tuple
set
str
If filetype or class is not supported, the filepath of the stored data gets printed.
Print filepath of stored data
$ dnres config.ini ls --help
Other commands
The following dnres
methods are exposed as cli commands:
delete
info
ls
move
rename
set-description
set-source
store
Information on these commands/methods can be found here.
To get help on these commands run:
$ dnres config.ini COMMAND --help
Installation
pip install dnres-cli
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dnres-cli-0.1.tar.gz
(3.9 kB
view hashes)