https://github.com/zequez/cassette_explorer
Command line utility to mount a webserver with VCR cassettes
https://github.com/zequez/cassette_explorer
Last synced: about 1 year ago
JSON representation
Command line utility to mount a webserver with VCR cassettes
- Host: GitHub
- URL: https://github.com/zequez/cassette_explorer
- Owner: Zequez
- License: mit
- Created: 2015-10-03T06:24:37.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-02-17T14:49:59.000Z (over 4 years ago)
- Last Synced: 2025-02-20T19:40:44.486Z (over 1 year ago)
- Language: Ruby
- Size: 238 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# CassetteExplorer
CasetteExplorer is a command line utility that allow you to mount a webserver to load the
[VCR](https://github.com/vcr/vcr) cassettes in the browser.
## Installation
```
$ gem install cassette_explorer
```
## Usage
```
$ cassette_explorer -h
Usage: cassette_explorer /path/to/vcr/cassettes/directory [options]
-r, --no-replace-urls Replace relative URLs with absolute URLs. Default: true
-f, --load-in-iframe Default the views to load in an iframe (it can be toggled from the page). Default: false
-w, --watch Watches the cassettes for changes. Default: true
-p, --port PORT Port to mount the server
-h, --help Prints this help
```
## TODO
- Write better tests
- Make the view a folder tree
## Contributing
1. Fork it ( https://github.com/Zequez/cassette_explorer/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request