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

Можно было бы ещё запилить CLI-версию #18

Open
a-x- opened this issue Jul 17, 2015 · 3 comments
Open

Можно было бы ещё запилить CLI-версию #18

a-x- opened this issue Jul 17, 2015 · 3 comments

Comments

@a-x-
Copy link

a-x- commented Jul 17, 2015

многие npm пакеты идут не только в виде node-библиотеки, но и с command line интерфейсом сразу в одной коробке.

Для этого в npm предусмотрены специальные механизмы
в частности, конфиг в package.json:

  "bin": {
    "pupergrep": "bin/pupergrep"
  },

Но я это так, только поболтать очевидные вещи.

Может быть кто и запилит.

@a-x-
Copy link
Author

a-x- commented Jul 17, 2015

Пример: https://github.com/substack/picture-tube

@nerevar
Copy link

nerevar commented Jul 26, 2015

Для чего нужна cli-версия, как её можно было бы использовать?

@a-x-
Copy link
Author

a-x- commented Jul 26, 2015

Привет, Ром :)
А как ты сейчас юзаешь?
Кажется, что писать node.js файлик только для того, чтобы передать пару
параметров да несколько путей до логов
излиишне, можно было бы удобнее передавать это как-то так:
puper --log default:/path/some.log --log error:/path/err.log ... и т.д.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants