Feature #2652
Python CLI - Version 2
100%
Description
Several tasks have been identified to enhance the Python CLI for the next release.
Subtasks
Related issues
History
#1 Updated by Andrew Pippin over 12 years ago
h2. Design planning for CLI
h4. Example session
% dataone
DataONE Command Line Interface
package create pkg-abc
set format-id=eml://ecoinformatics.org/eml-2.1.0
package scimeta add knb-lter-gce.297.17
set format-id=text/plain
package scidata add INV-GCEM-0705a1
package scidata add INV-GCEM-0705a2
package scidata add INV-GCEM-0705a3
package save
package done
%
h4. New commands
- create - upload to dataone
- get __ - get from dataone and load into memory
- update __ - update object in dataone
delete - delete object from dataone
new __ - create new package in memory
open __ - open new package from disk
save __ - save new package to disk
clear - clear package in memory and start over
add __ [filename] - add the content of pid to package (eventually creating the object on a MN if filename provided)
remove __ - (implies removing all associated linkages too)
link __ __ -- adds and makes "documents" linkages (implies add)
unlink __ __ -- removes linkage
show - display package in memory (display everything that is known about the package)
show __ - show contents of file (if text)(hex dump if binary?)
done - leave package mode
h4. Example command line usage
@dataone package create [...]@
@dataone package delete @
@dataone package update [...]@
@dataone package show @
@dataone -e 'package new pkgid; package add ; ...'@
or
@dataone -e 'package; new pkgid; add ; ...'@
#2 Updated by Andrew Pippin over 12 years ago
- Assignee changed from Andrew Pippin to Matthew Jones
Assigning to Matt for future development overview.
#3 Updated by Roger Dahl over 10 years ago
- Tracker changed from Story to Feature
#4 Updated by Dave Vieglais about 10 years ago
- Start date set to 2014-10-02
- Due date set to 2014-10-02
- Target version set to Maintenance Backlog
#5 Updated by Dave Vieglais almost 10 years ago
- Due date changed from 2014-10-02 to 2015-01-13
- Category deleted (
d1_client_cli) - Assignee changed from Matthew Jones to Mark Flynn
- Target version changed from Maintenance Backlog to CCI-2.0.0
- Project changed from Infrastructure to Python CLI
#6 Updated by Dave Vieglais over 9 years ago
- Target version changed from CCI-2.0.0 to CLI_2.0.0
#7 Updated by Roger Dahl over 8 years ago
- Assignee changed from Mark Flynn to Roger Dahl
#8 Updated by Dave Vieglais almost 7 years ago
- % Done changed from 0 to 30
- Status changed from New to In Progress
PBI status auto updated to In Progress because at least one task wasn't on New status
#9 Updated by Dave Vieglais almost 7 years ago
- % Done changed from 30 to 100
- Status changed from In Progress to Closed
PBI status auto updated to Closed because all tasks were closed