Uno.Dsp.Cli 1.4.0

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

Uno DSP Tooling - Command Line Interface

This is the package that contains the command line interface for the Uno DSP Tooling.

Overview

This is used to generate Color Overrides file for project using Uno.Themes like documented on the official documentation.

How to get your theme file

Theme files are used to define the color palette of a theme and can be generated using the Material V3 Theme Builder website. Simply export using the "Material Theme (JSON)" format and download the generated JSON file.


Installation

The Uno DSP Tooling CLI is available as a dotnet tool.

To install it, run the following command:

dotnet tool install -g Uno.Dsp.Cli

# Or, to update it...
dotnet tool update -g Uno.Dsp.Cli

Usage

To generate the color overrides file, run the following command:

# XAML output (default)
uno-dsp import-colors <path_to_source_theme_file> [<path_to_output_file_or_folder>]

# CSharp output
uno-dsp import-colors <path_to_source_theme_file> [<path_to_output_file_or_folder>] --output-format CSharp

MSBuild Task

If you want this generation to occur automatically when building your project, you may prefer to use the MSBuild task instead.

There is another package that contains a MSBuild task to generate the color overrides file: Uno.Dsp.Tasks.

Using the CLI instead of the MSBuild task is recommended if you want to generate the color overrides file from a theme file that is not in your project or if you need more flexibility on the moment when it is generated.

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.4.0 320 6/14/2024
1.4.0-dev.12 103 5/19/2024
1.3.2 213 5/21/2024
1.3.0 187 5/8/2024
1.3.0-dev.16 115 5/7/2024
1.3.0-dev.13 67 5/2/2024
1.3.0-dev.5 126 2/15/2024
1.3.0-dev.2 154 11/15/2023
1.2.9 284 2/15/2024
1.2.8 282 11/17/2023
1.2.7 286 11/1/2023
1.2.0-dev.34 121 9/29/2023
1.2.0-dev.32 127 9/26/2023
1.2.0-dev.30 117 9/26/2023
1.2.0-dev.28 107 9/26/2023
1.2.0-dev.20 138 9/13/2023
1.2.0-dev.18 146 8/30/2023
1.2.0-dev.12 154 8/15/2023
1.2.0-dev.8 179 7/21/2023
1.2.0-dev.6 158 7/21/2023
Loading failed