Project

General

Profile

Task #2552

Story #2450: Update resource map generation script for production

Add "package" command to the CLI

Added by Andrew Pippin about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Andrew Pippin
Category:
d1_client_cli
Target version:
-
Start date:
2012-03-30
Due date:
% Done:

100%

Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:

Description

Add the ability to create and add an aggregate to DataONE.


Related issues

Related to Infrastructure - Task #2609: Document CLI "package" feature set. Closed 2012-04-16
Related to Python CLI - Feature #2652: Python CLI - Version 2 Closed 2012-02-23

History

#1 Updated by Andrew Pippin about 12 years ago

Current package command is complete command line based. Need to enable a single line to create an aggregate.

Current commands are:
create [pid]
rename
show [pid]
load [pid]
save [pid]
scimeta [add]
scimeta del
scimeta show
scimeta meta
scidata [add] [...]
scidata del
scidata show
scidata meta

#2 Updated by Andrew Pippin about 12 years ago

  • % Done changed from 0 to 80

package help

Documented "package" commands (type package help ):

create help load name save scimeta
delete leave meta print scidata show

package help scimeta
scimeta [add | del | desc | show | meta ] [options]
add pid [file] Assign the science meta object
del Remove the science meta object from the package.
show Display the current science meta object.
meta Display the system meta data for the science meta object.
desc Describe the current science meta object.

package help scidata
scidata [add | del | desc | show | meta ]
add [file] Add the science object to the package.
del Remove the given science object from the package.
clear Remove all science data objects from the package.
print Describe the given science object.
show Display the given science object.
meta Display the system meta data for the given science object.

#3 Updated by Andrew Pippin about 12 years ago

As a result of the USGS presentation (April 17 & 18, 2012), several changes were suggested. The general theme was to make the command names conform to the semantics of the existing commands. As a result, the below changes will be made for the first production release.

+Rename commands+:
* createnew
* deleteremove
* leavedone
* loadget
* printshow
* savecreate

+Remove the commands+
* meta
* name

+Other+

Clean up the error messages, and make them much more descriptive.

Better document the feature set.

#4 Updated by Andrew Pippin about 12 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 80 to 100

Complete.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)