Skip to content

Rethink how URLs and the destination path are provided #13

Open
@uncenter

Description

I find that cloneit x y z is more intuitive than cloneit x,y,z. A destination path would then be provided through a flag instead of as the second argument (--output or --dest maybe?).

As I'm writing this, I've actually thought of another possible solution: take the last argument (assuming there are 2 or more arguments provided), check if it is a URL (parse it and check if it has a certain protocol), if it is, download as normal, if not, interpret it as the destination path.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions