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                
nuke :add-package Octopus.Config.Exporter.Cli --version 0.7.3                

Octopus Config Exporter

CLI NuGet

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

.NET 6 SDK or later

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 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.

Version Downloads Last updated
0.7.3 530 2/18/2022
0.7.2 403 2/18/2022
0.7.1 428 2/18/2022
0.7.0 440 2/17/2022
0.6.1 458 2/14/2022
0.6.0 437 2/14/2022
0.5.0 479 2/14/2022
0.4.0 431 2/13/2022
0.3.0 453 2/12/2022
0.2.0 423 2/12/2022
0.1.0-rc15 286 2/7/2022