https://github.com/danpersa/instaskip
eskip parser written in clojure
https://github.com/danpersa/instaskip
Last synced: 2 months ago
JSON representation
eskip parser written in clojure
- Host: GitHub
- URL: https://github.com/danpersa/instaskip
- Owner: danpersa
- License: mit
- Created: 2016-03-31T14:56:48.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-16T13:41:44.000Z (almost 9 years ago)
- Last Synced: 2025-01-22T04:31:20.274Z (4 months ago)
- Language: Clojure
- Size: 102 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Instaskip
[](https://clojars.org/org.clojars.danpersa/instaskip)
CLI for innkeeper
## Installation
Download from https://clojars.org/org.clojars.danpersa/instaskip.
For lein users
[org.clojars.danpersa/instaskip 0.3.2]
For maven users
org.clojars.danpersa
instaskip
0.3.2
## Publishing
lein deploy clojars
## Usage
Example:
$ ./instaskip.sh \
--token="token-user~1-employees-route.admin" \
--url="https://innkeeper.pathfinder-staging.zalan.do" \
migrate-routes --dir="~/mosaic-staging/routes/"Running the tests: `lein midje`
Running it from lein:
$ lein run -- --token="token-user~1-employees-route.admin" \
--url="https://innkeeper.pathfinder-staging.zalan.do" \
migrate-routes \
--dir="~/mosaic-staging/routes/"## Options
$ ./instaskip.sh -h
## Examples
# Migrate the routes for a specific team
$ ./instaskip.sh \
--token="token-user~1-employees-route.admin" \
--url="https://innkeeper.pathfinder-staging.zalan.do" \
migrate-routes --dir="~/mosaic-staging/routes/" \
--team="graviton"# List hosts
$ ./instaskip.sh -t token-user~1-employees-route.admin list-hosts# List paths
$ ./instaskip.sh -t token-user~1-employees-route.admin list-paths -T graviton# List path details
$ ./instaskip.sh -t token-user~1-employees-route.admin list-path -i 20# List routes
$ ./instaskip.sh -t token-user~1-employees-route.admin list-routes -T graviton# List route details
$ ./instaskip.sh -t token-user~1-employees-route.admin list-route -i 28# Delete route
$ ./instaskip.sh -t token-user~1-employees-route.admin delete-route -i 28## License
Copyright © 2016 Dan Persa
Distributed under the MIT License.