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

Commit

Permalink
Fix suggested alias for relative paths. Closes #37 #28.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjc committed Nov 1, 2016
1 parent 34f8e62 commit 0c31e53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ The easiest way to get up-and-running is to `install Docker <https://www.docker.
.. code:: bash
# Setup the alias. Put this in your .bash_rc or .zshrc file so it's available at startup.
alias enhance="function ne() { docker run -v \`dirname \$1\`:/ne/input -it alexjc/neural-enhance input/\`basename \$1\`; }; ne"
alias enhance='function ne() { docker run -v $(PWD)/`dirname $1`:/ne/input -it alexjc/neural-enhance input/`basename $1`; }; ne'
# Now run any of the examples above using this alias, without the `.py` extension.
enhance images/example.jpg
**Multiple Images** — To enhance multiple images in a row (faster) from a folder or widlcard specification, make sure to quote the argument to the alias:
**Multiple Images** — To enhance multiple images in a row (faster) from a folder or widlcard specification, make sure to quote the argument to the alias command:

.. code:: bash
Expand Down

0 comments on commit 0c31e53

Please sign in to comment.