From e82042ce27ca860b09d30aa827fc9126c41c2fc0 Mon Sep 17 00:00:00 2001 From: AlexMili Date: Sat, 26 Nov 2016 15:20:11 +0100 Subject: [PATCH] pip installation --- README.md | 6 +++++- whatinstalled.py | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c717940..20fa841 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,11 @@ WhatInstalled is a simple tool to retrieve what you installed using command line. ## Installation -After cloning this repository simply run : +You can install it with pip : +```bash +pip install whatinstalled +``` +Or clone this repository and simply run : ```bash cd whatinstalled/ pip install -e . diff --git a/whatinstalled.py b/whatinstalled.py index 0a04b96..8cf748c 100644 --- a/whatinstalled.py +++ b/whatinstalled.py @@ -39,8 +39,8 @@ def whatinstalled(): parser = argparse.ArgumentParser(description='A simple tool to retrieve what you installed using CLI') - parser.add_argument('-f', '--file', dest='bash_file', type=str, help="custom file to parse", default="~/.bash_history") - parser.add_argument('-p', '--profile', dest='profile', type=str, help="specific profile to use", default=None) + parser.add_argument('-f', '--file', dest='bash_file', type=str, help="custom file to parse", default="~/.bash_history") + parser.add_argument('-p', '--profile',dest='profile', type=str, help="specific profile to use", default=None) args = parser.parse_args() global keywords