A command line utility for rubber duck debugging
_.._
/ a a\__,
\ -.___/
\ \
(\__,-----,_) \
( (_ )
\_ (__ /
\___________/
rubberducky
is a command line tool that allows you to have a rubber duck quickly available to you any time you're feeling stuck solving a problem.
$ npm install -g rubberducky
$ rubberducky
rubberducky
has a few commands that it will respond to:
exit
- exit the programrestart
- start over with a clean slateinteractive
- start interactive mode (this can also be enabled on the command line with the--interactive
flag)noninteractive
- end interactive modehelp
- show information aboutrubberducky
, including possible commands and links to more information
rubberducky
includes an interactive mode for times when you'd rather not speak out loud to your computer. In interactive mode, the duck will ask you the following questions:
- Do you mind explaining the problem you're trying to solve?
- And can you explain how you're trying to solve that problem?