Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Global Tool SupportΒ #19

@tarurar

Description

@tarurar

πŸš€ Feature Request - Global Tool Support

This task describes the work required to distribute Fink as a .NET global tool so it can be installed via dotnet tool install -g fink.

Task Details

  1. Update project for tool packaging

    • Add <PackAsTool>true</PackAsTool> to src/Fink/Fink.csproj.
    • Define <ToolCommandName>fink</ToolCommandName> so the command is fink.
    • Optionally specify PackageId, Version, and licensing metadata.
    • Keep OutputType set to Exe and maintain all project references.
  2. Create packing workflow

    • Extend .github/workflows/ci.yml with a job triggered on release tags that executes dotnet pack.
    • Upload the resulting .nupkg as a workflow artifact and optionally publish to NuGet using a repository secret.
  3. Document installation

    • Update README.md with instructions:
      dotnet tool install --global fink
    • Include commands for updating and uninstalling the tool.
    • Mention that the .NET 9.0 SDK is required.
    • Provide an example usage of fink <path> <framework> once installed.

This feature will make Fink easier to install and use across different environments and is planned for a future milestone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions