[go: up one dir, main page]

Skip to content

droxey/strainscan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strainscan

Table of Contents

  1. Install
  2. Commands

A command line interface to that scrapes cannabis strain information from CannaConnection.

Install

Homebrew

Use Homebrew to install:

$ brew tap droxey/strainscrape
$ brew install strainscape

Golang

$ go get github.com/droxey/strainscrape

Note: If you use modules (or if GO111MODULE=on in your environment), go get will not install packages "globally". It will add them to your project's go.mod file instead. As of Go 1.11.1, setting GO111MODULE=off works to circumvent this behavior:

$ GO111MODULE=off; go get github.com/droxey/strainscrape

Commands

List Strains

Returns a list of all strains.

$ strains list

Save the list in a JSON file named strains.json.

$ strains save --filename="strains.json"

Find a Strain

Find a strain by name.

$ strains find "Strain Name"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages