mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-24 11:14:40 +03:00
12 lines
282 B
JavaScript
12 lines
282 B
JavaScript
#!/usr/bin/env node
|
|
|
|
// Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
const json = process.argv[2]
|
|
const field = process.argv[3]
|
|
|
|
const output = JSON.parse(json)
|
|
console.log(output[field])
|