Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vars argv = require('yargs').argv; #21

Closed
kaelig opened this issue Nov 6, 2014 · 2 comments
Closed

vars argv = require('yargs').argv; #21

kaelig opened this issue Nov 6, 2014 · 2 comments

Comments

@kaelig
Copy link

kaelig commented Nov 6, 2014

Dans vars argv = require('yargs').argv;

  • Que signifie vars, faute de frappe ?
  • Et que fait .argv? (je m'en doute mais ce n'est pas explicité dans l'exemple)
@thom4parisot
Copy link
Owner

Pour vars, c'est une typo.

Et quant à .argv, c'est ce qui exécute le parsing de process.argv et en retourne un objet structuré.

@DavidBruant
Copy link
Collaborator

Ouais, argc/argv fait partie de la culture UNIX.

@thom4parisot thom4parisot modified the milestone: v1 • Première édition Jan 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants