#shading #graphics #vfx #osl

app oslq

Command-line tool for querying Open Shading Language (OSL) shader parameters & metadata

1 unstable release

Uses new Rust 2024

0.1.0 Sep 26, 2025

#2386 in Parser implementations

Apache-2.0…

120KB
2.5K SLoC

oslq

A command-line tool for querying OSL (Open Shading Language) shader parameters & metadata.

Installation

cargo install oslq

Usage

# Query shader parameters
oslq shader.oso

# Verbose output
oslq -v shader.oso

# Query specific parameter
oslq --param paramname shader.oso

# JSON output (if built with json feature)
oslq --json shader.oso

Features

  • Colored output.
  • Support for all OSL types including arrays and aggregates.
  • Compatible with oslinfo output format.
  • JSON output support (optional feature).

License

Licensed under Apache-2.0 OR BSD-3-Clause OR MIT OR Zlib at your option.

Dependencies

~5–6.5MB
~103K SLoC