Project

General

Profile

Task #2467

Feature #2652: Python CLI - Version 2

Allow "-" for input or output filename

Added by Andrew Pippin almost 13 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
Low
Assignee:
Target version:
Start date:
2012-03-09
Due date:
% Done:

0%

Estimated time:
2.00 h
Story Points:
Sprint:

Description

In the unix world, it is common to use a dash ("-") to represent stdin or stdout. This would be helpful, especially on the command-line.

Example usage:
  # Outputs to the screen
    @dataone.py meta some_pid -@

  # takes the object from stdin.
    @cat this.xml | dataone.py --object-format=text/xml create some_pid -@

History

#1 Updated by Andrew Pippin over 12 years ago

  • Assignee deleted (Andrew Pippin)
  • Parent task set to #2652

Putting this task under the Version 2 Python CLI story.

#2 Updated by Roger Dahl over 11 years ago

  • translation missing: en.field_remaining_hours set to 2.0
  • Assignee set to Roger Dahl

#3 Updated by Dave Vieglais about 10 years ago

  • Target version set to Maintenance Backlog

#4 Updated by Dave Vieglais almost 10 years ago

  • Target version changed from Maintenance Backlog to CCI-2.0.0

#5 Updated by Dave Vieglais almost 10 years ago

  • Assignee changed from Roger Dahl to Mark Flynn

#6 Updated by Roger Dahl over 8 years ago

  • Assignee changed from Mark Flynn to Roger Dahl

#7 Updated by Dave Vieglais almost 7 years ago

  • Status changed from New to Rejected

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)