Extracts import dependencies from a Jsonnet file
Project description
get-jsonnet-dependencies
Extracts import dependencies from a Jsonnet file
Usage
> pip install get-jsonnet-dependencies
> get-jsonnet-dependencies -
> local thing = import "thing.jsonnet";
thing.jsonnet
> local amoguise = import @"C:\Users\sus\Documents\amoguise.libsonnet";
C:\Users\sus\Documents\amoguise.libsonnet
> local a = import "a.jsonnet"; local b = importstr "b.txt";
a.jsonnet
b.txt
Pass a list of files to extract dependencies from
Passing - means to take extract dependencies from stdin
No arguments means get-jsonnet-dependencies -
Note that imports spanning multiple lines won't be found by this script
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for get-jsonnet-dependencies-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 726214a835d6b8eda1cc9581ec0c9f8a78d32d36b004b6bf3ff563943451352e |
|
MD5 | 70e23484933440371918d1682a417337 |
|
BLAKE2b-256 | 86ab706938685426cd7bd1021bbaef17445f2789fb470e2a81338f6ac1555f4c |
Close
Hashes for get_jsonnet_dependencies-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e38b00b765dcb0e5b664c282549971b41da136b9c7ca27db2b305cd44b7c526 |
|
MD5 | 223568cbad349fe06f1f9fdfee7bc17e |
|
BLAKE2b-256 | 44f2017acf429423bcadb2ae7de2f35d6e7f31b0abcc9c88edc7c1fa9f4b7f89 |