docs: remove $ from multiline commands or frequently copied [skip ci]

This commit is contained in:
habibitcoin committed 2022-10-28 12:32:24 -05:00
1 parent 0b1e881d18
commit 04a1160939
3 files changed
+49 -49

No files matched your search

+5 -5
View File
@@ -22,16 +22,16 @@ Create a new `.net core` console application called `lndclient` at your root dir
Create a folder `Grpc` in the root of your project and fetch the lnd proto files
```shell
$ mkdir Grpc
$ curl -o Grpc/lightning.proto -s https://raw.githubusercontent.com/lightningnetwork/lnd/master/lnrpc/lightning.proto
mkdir Grpc
curl -o Grpc/lightning.proto -s https://raw.githubusercontent.com/lightningnetwork/lnd/master/lnrpc/lightning.proto
```
Install `Grpc.Tools`, `Google.Protobuf`, `Grpc.Net.Client` using NuGet or manually with `dotnet add`:
```shell
$ dotnet add package Grpc.Tools
$ dotnet add package Google.Protobuf
$ dotnet add package Grpc.Net.Client
dotnet add package Grpc.Tools
dotnet add package Google.Protobuf
dotnet add package Grpc.Net.Client
```
Add the `lightning.proto` file to the `.csproj` file in an ItemGroup. (In Visual Studio you can do this by unloading the project, editing the `.csproj` file and then reloading it)