Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support long options with object properties #924

@nfischer

Description

@nfischer

Inspired by #923. It would be cool to support "long options" by using Object property names.

shell.touch({reference: 'ref-file.txt'}, 'foo.txt'); // same as '-r'
shell.rm({recursive: true}, 'foo.txt');

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions