Skip to content
This repository has been archived by the owner on Jun 6, 2018. It is now read-only.

Command line arguments

o355 edited this page Aug 28, 2017 · 2 revisions

Eventually whenever I feel like not working on PyWeather and working on PIPupdate, I'll eventually add these arguments. To make PIPupdate more useful I guess?

psst...PR in GitHub lang means Pull Request, I was confused initially myself

Requirements.txt install (PIPupdate 1.1.1 and later)

Launched with the argument -r or --requirements. Selecting this option will let you perform an easy requirements.txt install.

This part of PIPupdate will let you input the program name that you want to install (CaSe SeNsItIvE), along with the specific version you want to install. When you first select the argument, you will input how many programs you want to install. You can always install more programs if you said the amount of programs you wanted to install was lower than the amount you actually wanted to install.

As of now, there is no way to exempt these programs from getting updated with PIPupdate.

Force-reinstall everything (PIPupdate 1.2 and later)

Launched with the argument -fr or --forcereinstall. Selecting this option will force reinstall all packages, including PIP.

This one is pretty self explanatory.

Uninstall everything (PIPupdate 1.3 and later)

Launched with the argument -u or --uninstallall. Selecting this option will, quite simply, uninstall all packages, except for PIP, setuptools, and wheel.

A confirmation to the user is also presented, making sure that they actually want to uninstall everything.

Options (PIPupdate 1.4 and later)

Launched with the argument -o or --options. Selecting this option will launch a settings menu, in which users can exempt packages from getting updated, and a few other options that are yet to come.

Verbose logging (PIPupdate 1.4.1/1.5 and later)

Launched with the argument -vb or --verboselog. Selecting this will enable verbose logging. Instead of seeing this:

PIPupdate: Now attempting to update package notverboselogging

You'll see this!

[00:30:00] PIPupdate 1.4.1 INFO | no args | Updating package verboselogging via #commandgoeshere

In the initial 1.4.1 release, verbose logging will ONLY be added to the updater, and will eventually propagate to the rest of PIPupdate by 1.5.

Force-update all programs (PIPupdate 2.0)

No.