Skip to content

Implement decent option parsing #4

@przemoc

Description

@przemoc
vidma [OPTION]... FILE [OPERATION [PARAMETER]...]... [\; FILE [OPERATION [PARAMETER]...]...]...

Support for defining many operations in one vidma invocation should be useful. Support for working on many files in one invocation doesn't look that important, but could be useful too. It may require also automatic stdin/stdout folding to make possible and meaningful below command:

vidma test.vdi export \; test.vmdk import

which could be substituted by (possibly less efficient):

vidma test.vdi export | vidma test.vmdk import

It must be checked whether above options model is achievable using one of following mechanisms:

  • getopt
  • Rusty's opt
  • my (written for pcspk) popt
  • RedHat's popt
  • argopt
  • (other open source solutions)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions