/dnres-cli

Command line utility to be used along with dnres python package.

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

dnres-cli

Command line utility to be used along with dnres python package.

Usage

Parse config

$ dnres config.ini

Print contents of stored/tagged 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 absolute filepath of stored/tagged data

$ dnres config.ini ls --help

Other commands

The following dnres methods are exposed as cli commands:

  • info
  • tag
  • remove-from-db
  • remove-tag

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

License

BSD 3