SpringScrap 1.0.4

dotnet tool install --global SpringScrap --version 1.0.4
                    
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 SpringScrap --version 1.0.4
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=SpringScrap&version=1.0.4
                    
nuke :add-package SpringScrap --version 1.0.4
                    

Overview

SpringScrap is a .NET tool to fetch configuration from Spring Cloud Config Server and save it as a JSON file.

Features

  • Connects to a Spring Cloud Config server.
  • Fetches configuration data for a specified service.
  • Generates a JSON file (default: appsettings.spring.json) with the fetched configuration.

Prerequisites

  • .NET SDK 8.0 or later
  • Access to a Spring Cloud Config server
  • Set SPRING_SCRAP_URI environment variable with spring cloud server url

Installation

To install the tool globally, use the following command:

dotnet tool install --global SpringScrap

Usage

Once installed, you can use the springscrap command to fetch configuration.

springscrap --service <service-name> --env <env-name>

Command Line Options

  • --service or -s: Service name to get configuration (required).
  • --environment or -e: Environment name to get configuration (required).
  • --output or -o: Name of the output JSON file (default: appsettings.spring.json).

Example

springscrap -s my-service --environment production --output config.json

This command will fetch the configuration for my-service in the production environment and save it to config.json.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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
1.0.4 206 7/31/2025
1.0.3 138 3/15/2025
1.0.2 182 3/9/2025
1.0.1 160 2/27/2025
1.0.0 146 2/26/2025