Skip to content

Commit

Permalink
rename package
Browse files Browse the repository at this point in the history
- Rename Optimizely.ContentGraph.Client.Tools to Optimizely.Graph.Client.Tools
  • Loading branch information
ManhOptimizely committed Mar 11, 2024
1 parent 0b0df15 commit d2fd1ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions APIs/src/CGTypeSync/Optimizely.Graph.Client.Tools.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</metadata>
<files>
<file src="CGTypeSync\license.txt" target="" />
<file src="CGTypeSync\bin\$Configuration$\net6.0\Optimizely.Graph.Client.Tools.dll" target="lib\net6.0" />
<file src="CGTypeSync\bin\$Configuration$\net6.0\Optimizely.Graph.Client.Tools.exe" target="lib\net6.0" />
<file src="CGTypeSync\bin\$Configuration$\net6.0\Optimizely.ContentGraph.Client.Tools.dll" target="lib\net6.0" />
<file src="CGTypeSync\bin\$Configuration$\net6.0\Optimizely.ContentGraph.Client.Tools.exe" target="lib\net6.0" />
</files>
</package>
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ If appsettings.json was ready, from repository level:
This tool supports for generating Optimizely Graph's schema to C# object models. You do not need to create models manually if install this tool.
#### Install Optimizely Graph Client Tool
From repository level:
- Run `mkdir ogschema`
- Run `cd ogschema`
- Run `mkdir ogtools`
- Run `cd ogtools`
- Run `dotnet new tool-manifest`
- Run `dotnet tool install Optimizely.ContentGraph.Client.Tools --local`
- Run `dotnet tool install Optimizely.Graph.Client.Tools --local`
- Run `dotnet ogschema path_to_your_appsettings.json path_to_store_your_models`
When the last command is succeed you will see the models will be generated in file `GraphModels.cs` located in the `path_to_store_your_models` you have ran in last command.

Expand Down

0 comments on commit d2fd1ae

Please sign in to comment.