witcli

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadOne

func LoadOne(forceWIT bool, paths ...string) (*wit.Resolve, error)

LoadOne loads a single wit.Resolve. An error is returned if len(paths) > 1. If paths is empty, or paths[0] == "" or "-", then it reads from stdin. If the resolved path doesn’t end in ".json", it will attempt to load WIT indirectly by processing the input through wasm-tools. If forceWIT is true, it will always process input through wasm-tools.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL