deno.land / x / yaml@v2.4.1 / bin.mjs

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env node
import { UserError, cli, help } from './dist/cli.mjs'
cli(process.stdin, error => { if (error instanceof UserError) { if (error.code === UserError.ARGS) console.error(`${help}\n`) console.error(error.message) process.exitCode = error.code } else if (error) throw error})
yaml

Version Info

Tagged at
a month ago