Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L losscalculator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Global Dynamic ExposureGlobal Dynamic Exposure
  • losscalculator
  • Issues
  • #7
Closed
Open
Issue created Jan 05, 2021 by Danijel Schorlemmer@dsOwner

Add read from stdin and write to stdout for key data input and output

I suggest that the losscalculator replaces the -e option with an input filepath and the -r option with an output filepath. This way, the calling syntax would be:

python3 damage_calculator.py [OPTIONS] REQUIRED-OPTIONS exposure-filepath result-filepath

Additionally input from stdin and output to stdout should be implemented for the main input and output so that these can be piped.

\rfc @cnievas, @shinde \approve @fd, @ds

Edited Jan 06, 2021 by Danijel Schorlemmer
Assignee
Assign to
Time tracking