Skip to content

BloomAndWild/poke-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

poke config

An example, b&w internal config directory for the poke tool.

Usage

  1. install poke-your-api gem by running gem install poke-your-api
  2. run git clone https://github.com/BloomAndWild/poke-config.git
  3. run mv poke-config/ ~/.poke
  4. Run poke -e staging and enjoy

(bloomandwild/api/v2/availability/products is a good candidate for testing)

Environments

Enviroments can be set in the config file (i.e. ~/.poke/bloomandwild/config.json). Use poke -e env_name to run the request against the specified environment.

Environments can be managed by the poke env command.

Configuration

Configuration can be changed by creating ~/.poke.json file.

{
  "root_path": "/Users/janbator/.poke",
  "aliases": { 
    "health": "range-discovery/healthz",
    "range": "range-discovery/api/2023-08-15/range",
    "products": "bloomandwild/api/v2/availability/products",
  }
}

Aliases can be managed by the poke alias command.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published