browsh-org/browsh

Improve command line interface error feedback

Open

#196 aberto em 6 de set. de 2018

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (455 forks)batch import
bugenhancementhelp wanted

Métricas do repositório

Stars
 (15.996 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

This issue could be solved by a junior Browsh developer. I hope it will encourage someone to get involved.

Currently when you simply start the Browsh binary without command line arguments, you get something like this:

./browsh_1.4.12_linux_amd64 exit status 1

The user doesn't know for what reason an error occurred.

Possible ways to improve this are to:

  • display the usage/help output, like --help
  • and/or to display an error message such as "Firefox binary not found and no path given. Use --firefox.path"

Guia do colaborador