Skip to content

Commit

Permalink
Add docs for identify command
Browse files Browse the repository at this point in the history
  • Loading branch information
stilvoid committed Aug 26, 2015
1 parent b228447 commit 2029f80
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
Binary file added docs/dot-output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions docs/identify.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Identify

`please identify` can identify some common data formats and, give some data on standard input, will print out the format used.

Currently, `identify` can reliably tell the difference between:

* JSON
* YAML
* XML
* MIME messages

## Usage

please identify

Identifies the format of the structured data on standard input

## Examples

Identifying some data:

$ echo '{"this":{"is":["some","json"],"that":"we"},"will":"parse"}' | please identify
json

$ echo -e "this:\n looks: like\n some: yaml" | please identify
yaml

0 comments on commit 2029f80

Please sign in to comment.