Octopus.Config.Exporter.Cli
0.7.3
dotnet tool install --global Octopus.Config.Exporter.Cli --version 0.7.3
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Octopus.Config.Exporter.Cli --version 0.7.3
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Octopus.Config.Exporter.Cli&version=0.7.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Octopus.Config.Exporter.Cli --version 0.7.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Octopus Config Exporter
Why this tool?
When you have to deal with a complex application settings, enter manually this variable into the the Octopus UI can be painful. Also mistake or bad copy paste can happen. This tool allow you to export your appsettings json variable into your octopus project.
WARNING: if you are dealing with sensitive value like password, credentials. Don't put this value in your appsettings file (that maybe can be commited into your VCS), instead just put a placeholder value that you can replace later in the octopus UI.
Prerequisites
Installation
dotnet tool install --global Octopus.Config.Exporter.Cli
How to use it
USAGE: octopus-config-exporter [--help] --octopusserver <server> --octopusapikey <apiKey>
--octopusproject <projectName> [--prefix <prefix>] [--scope <prefix>]
[--nosecure] <path>
CONFIGFILE:
<path> specify a json config file to export
OPTIONS:
--octopusserver <server>
specify a the address of the octopus server (can also be set with OCTOPUS_SERVER
environnment variable)
--octopusapikey <apiKey>
specify your api key (can also be set with OCTOPUS_API_KEY environnment variable)
--octopusproject <projectName>
specify the project name (can also be set with OCTOPUS_PROJECT_NAME environnment
variable)
--prefix <prefix> specify the prefix of Env Var (can also be set with OCTOPUS_PREFIX environnment
variable)
--scope <prefix> scope for applying config
--nosecure display sensitive data
--help display this list of options.
WARNING
Datetime variable didn't work correctly.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.