From ee7de4593594013ca117bd9b72da44ab1e731c73 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 13 Sep 2023 13:50:33 -0400 Subject: Add ability to display .conda packages * Allow user to filter package list with positional arguments --- README.md | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index a547c76..0dc15bc 100644 --- a/README.md +++ b/README.md @@ -18,23 +18,28 @@ This utility requires Python 3.6 or greater and `requests`. ## Usage ``` -$ firewatch --help -usage: firewatch [-h] [--benchmark] [--brute-force] [--channel CHANNELS] - [--order ORDER] [--platform PLATFORMS] - [--time-span TIME_SPAN] +usage: firewatch [-h] [--benchmark] [--brute-force] [--channel CHANNELS] [--deprecated] [--order ORDER] + [--platform PLATFORMS] [--r-lang] [--time-span TIME_SPAN] [--version] + [package ...] -optional arguments: +positional arguments: + package Return package starting with pattern PACKAGE + +options: -h, --help show this help message and exit --benchmark Display total time to parse and sort channel data --brute-force Derive timestamps from HTTP header: "last-modified" --channel CHANNELS, -c CHANNELS Conda channel + --deprecated, -d Enable deprecated Anaconda, Inc. channel(s) --order ORDER, -o ORDER [asc|dsc] --platform PLATFORMS, -p PLATFORMS [linux|osx|win]-[32|64] + --r-lang, -R Enable R channels --time-span TIME_SPAN, -t TIME_SPAN i[s|m|h|d|w|M|y|D|c] (120s, 12h, 1d, 2w, 3m, 4y) + --version, -V Display software version ``` @@ -66,4 +71,10 @@ $ firewatch -t 3d -c conda-forge -c intel $ firewatch -t 1M -c http://ssb.stsci.edu/astroconda ``` +_What about showing only certain packages?_ + +You are in luck. Issue package name(s) as positional arguments. +``` +$ firewatch -c conda-forge cfitsio hstcal +``` -- cgit