Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
Add example for CLI usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Svetlin Ralchev committed Apr 15, 2018
1 parent dd26f72 commit d482fce
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,14 @@ $ go install github.com/phogolabs/parcel/cmd/parcel

## Usage

The best way to use the tool is via `go generate`. In order to embed all
You can use the parcel command line interface to bundle the desired resources
recursively:

```console
$ parcel -r -d <resource_dir_source> -b <bundle_dir_destination>
```

However, the best way to use the tool is via `go generate`. In order to embed all
resource in particular directory, you should make it a package that has the
following comment:

Expand Down

0 comments on commit d482fce

Please sign in to comment.