utilities/snippets_cli_go#7: Take search term from commandline



Issue Information

Issue Type: issue
Status: closed
Reported By: btasker
Assigned To: btasker

Milestone: v0.1
Created: 27-Sep-24 11:45



Description

The search term is currently hardcoded, we need to take that from the commandline



Toggle State Changes

Activity


assigned to @btasker

verified

mentioned in commit c729fd56e00e9880b753dadef929cf8e96532286

Commit: c729fd56e00e9880b753dadef929cf8e96532286 
Author: B Tasker                            
                            
Date: 2024-09-27T14:33:07.000+01:00 

Message

feat: consume command line arguments to get search term (utilities/snippets_cli_go#7)

+14 -5 (19 lines changed)

Although the old script supported sub-commands like list, I've never actually used them, so haven't bothered re-implementing support.

Usage is simple

sbt foo
sbt 10