okfn/datapkg — Issue #6: Rename command line verbs
Author: rgrp
Created: 2011-10-13 19:39:45+00:00
State: open

Use verbs in command line more (and closed to code) (suggestion thanks to @pudo -- see http://wiki.ckan.org/Data_Package_Simplification_Proposal)

* '''clone'''/'''checkout''': get a working directory with metadata, no files.
* '''edit''': open metadata in $EDITOR as .ini.
* When exit code is 0, submit to remote.
* '''load''': get resources, options '-a' or ''
* Should support pip syntax?
* '''put''': upload resource, either via OFS/CKANext-storage or specified means (ftp, ..)
* Automagically register on package.
* '''log''': see latest metadata changes, recorded changes in resource hashes. * 'note': make a quick notice, to be added to pkg['notes'].
* If no message is given, open $EDITOR
* '''status''': compare local resources to hashes stored on package.

Less important:

* '''derive''': mark resource A a derivate of B. Give a commit message to describe the process.
* '''resedit''': edit only the metadata of a resource
* '''resmod''': document a change to a resource (by appending to "notes"?)
* '''reserror''': note an error in a resource