Lutonet.FileBrowser
1.0.0
dotnet add package Lutonet.FileBrowser --version 1.0.0
NuGet\Install-Package Lutonet.FileBrowser -Version 1.0.0
<PackageReference Include="Lutonet.FileBrowser" Version="1.0.0" />
paket add Lutonet.FileBrowser --version 1.0.0
#r "nuget: Lutonet.FileBrowser, 1.0.0"
// Install Lutonet.FileBrowser as a Cake Addin #addin nuget:?package=Lutonet.FileBrowser&version=1.0.0 // Install Lutonet.FileBrowser as a Cake Tool #tool nuget:?package=Lutonet.FileBrowser&version=1.0.0
File and Folder selector for Spectre.Console
Spectre.Console is the best - this is my huble try to make it even more usefull.
Thank you for your kind interest in this little helper.
This library provides the functionality of the folder/file selector component for Spectre.Console packate which provides amazing tools for creating modern UI on the terminal
Browser.cs
Constructor
The class consturctor Browser()
doesn't take any paramaters.
Properties
DisplayIcons
boolean default true Decides if the icons are displayed in the browser.
PageSize
integer default 15 Decides how many items is displayed in the selector
CanCreateFolder
boolean default is true Decides if creation of the new folder option is included for user
ActualFolder
string default is Documents Can be setup to any path which will be used as Browser starting path
SelectedFile
boolean decides if we are selecting File or the Directory
LevelUpText
string default is Go to upper level sets string used in the navigation for selection to go at the parent level
ActualFolderText
string default is Selected Folder sets string used in the navigator to name actual directory
MoreChoicesText
string default is Use arrows Up and Down to select sets up hint text below the selector
CreateNewText
string default is Create new folder
SelectFileText
string default is Select File
SelectFolderText
string default is Select Folder
SelectDriveText
string default is Select Drive
SelectActualText
string Select Actual Folder
Methods Async
string GetPath(string ActualFolder, bool SelectFile)
displays the selector and returns file or folder path depending on bool SelectFile value
string GetFilePath()
displays the selector for a File selection in User's document folder. retuns string path value
string GetFilePath(string ActualFolder)
displays the selector for a File selection in the folder given as the parameter
string GetFolderPath()
displays the selector for a Folder selection in User's document folder
string GetFolderPath(string ActualFolder)
displays the selector for a Folder selection in the folder given as the parameter
I tried to add many properties with texts and settings to make this tool customizable and possible to translate.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Spectre.Console (>= 0.43.1-preview.0.43)
- System.Collections (>= 4.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 1,809 | 3/20/2022 |
First package release - hope someone will find it helpful