browsh-org/browsh

Improve command line interface error feedback

Open

#196 ouverte le 6 sept. 2018

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)JavaScript (455 forks)batch import
bugenhancementhelp wanted

Métriques du dépôt

Stars
 (15 996 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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"

Guide contributeur