Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReadMe] Change commands to fixed width font #1774

Merged
merged 1 commit into from
Feb 9, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ AutoRest can be run on macOS and *nix using [Mono](http://www.mono-project.com/d
Or [Docker](https://docs.docker.com/engine/installation):

# Download Swagger.json example
curl -O https://raw.githubusercontent.com/Azure/autorest/master/Samples/petstore/petstore.json
`curl -O https://raw.githubusercontent.com/Azure/autorest/master/Samples/petstore/petstore.json`

# Download latest AutoRest Docker image
docker pull azuresdk/autorest:latest
`docker pull azuresdk/autorest:latest`

# Run AutoRest using Docker, mounting the current folder (pwd) into /home inside the container
docker run -it --rm -v $(pwd):/home azuresdk/autorest:latest autorest \
`docker run -it --rm -v $(pwd):/home azuresdk/autorest:latest autorest \
-CodeGenerator CSharp \
-Input /home/petstore.json \
-OutputDirectory /home/CSharp_PetStore -Namespace PetStore
-OutputDirectory /home/CSharp_PetStore -Namespace PetStore`

## Building AutoRest
AutoRest is developed primarily in C# but generates code for multiple languages. See [this link](docs/developer/guide/building-code.md) to build and test AutoRest.
Expand Down