nushell/docs/commands/open.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

452 B

title layout version
open command 0.59.0

Opens a file.

Signature

> open (filename) --raw

Parameters

  • filename: the filename to use
  • --raw: open file as raw binary

Examples

Open a file, with structure (based on file extension)

> open myfile.json

Open a file, as raw bytes

> open myfile.json --raw

Open a file, using the input to get filename

> echo 'myfile.txt' | open