Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hamedstack/hamedstack.globaltool.extract
A .NET global tool designed for extracting embedded resource files from a .NET assembly.
https://github.com/hamedstack/hamedstack.globaltool.extract
assembly cmd command-line command-line-tool commandline csharp csharp-library dll dotnet dotnet-core dotnetcore embedded embedded-resource embedded-resources extract extraction extractor global resource resources
Last synced: 21 days ago
JSON representation
A .NET global tool designed for extracting embedded resource files from a .NET assembly.
- Host: GitHub
- URL: https://github.com/hamedstack/hamedstack.globaltool.extract
- Owner: HamedStack
- License: mit
- Created: 2023-09-21T16:31:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-03T07:18:49.000Z (over 1 year ago)
- Last Synced: 2024-11-22T04:41:54.530Z (3 months ago)
- Topics: assembly, cmd, command-line, command-line-tool, commandline, csharp, csharp-library, dll, dotnet, dotnet-core, dotnetcore, embedded, embedded-resource, embedded-resources, extract, extraction, extractor, global, resource, resources
- Language: C#
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![extract_icon](https://user-images.githubusercontent.com/8418700/141079117-f3bfea84-3d9d-48fb-9303-7208e6f6cc8b.png)
## [Nuget](https://www.nuget.org/packages/dotnet-extract)
[![Open Source Love](https://badges.frapsoft.com/os/mit/mit.svg?v=102)](https://opensource.org/licenses/MIT)
![Nuget](https://img.shields.io/nuget/v/dotnet-extract)
![Nuget](https://img.shields.io/nuget/dt/dotnet-extract)```bash
// install
dotnet tool install --global dotnet-extract// update
dotnet tool update dotnet-extract --global// uninstall
dotnet tool uninstall dotnet-extract --global
```## Options
| Option | Required | Description |
|------------------|:----------:|-------------|
|-s\|--source |Yes |The assemblies folder source path.|
|-d\|--destination|No |The destination folder path. If you do not specify a path, the files are extracted in the `current directory`.|
|-p\|--pattern |No |Pattern of the names of the resources you want to extract so you should write `regex` on full resource name like `RazorClassLibrary.Areas.Library.Pages.Shared._Message.cshtml`|
|-r\|--replace |No |Strategy how to replace files that already exist at the destination. default is `replace all`. Other available options are **ask\|a** and **skip\|s**.|
|-l\|--list |No |Get list of embedded resources. You can you regex pattern with this too.|
|-e\|--extension|No|You can define your custom undetectable file extensions. The value is comma separated like `.txt.dat,.mkv,.cshtml.cs`|## Usage
```bash
dotnet extract -s SOURCE_FOLDER -d DESTINATION_FOLDER -p .*Areas.* -r ask
```
Icon from https://www.iconfinder.com under Creative Commons Attribution-Share Alike 3.0 Unported License.