dthree / dthree/vorpal

How can I stop vorpal from adding quotes to string ?

Open
#307 2 comments 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.6k
Forks
278
PR merge metrics
No merged PRs in 30d

Description

Hello ! I am trying to use vorpal to make a cli program for downloading video with youtube-dl. I'm trying to make a "yt" command : yt

```
vorpal.command('yt ', '').action(function(args, callback) {
this.log(args.yt.join(''));
callback();
});
```

If I use this command, I will get this result : https://www.youtube.com/watch?v='dQw4w9WgXcQ'

Why is vorpal adding quotes on both end of the YT's video ID ? Is there another way ?

Thanks for your help !

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.