A CLI or Command Line Interface Interface is an in interface that accepts text input to execute operating system functions. As a software developer we use CLI's all the time. What exactly does a CLI look like? Open your terminal on Mac or command prompt(powershell works too) if you are on Windows. As a developer we use the terminal and/or command prompt to:
- install packages
- run scripts
- manage project files
and more. Something you might be familiar with in the web development world is this
npm install <package name>
In that example in the CLI, we are using the package manager npm
to install a package of our choice!
Use the package manager pip to install foobar.
pip install foobar
import foobar
foobar.pluralize('word') # returns 'words'
foobar.pluralize('goose') # returns 'geese'
foobar.singularize('phenomena') # returns 'phenomenon'
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.