An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

tiny

A tiny C# class to handle arguments sent to a console application. Tiny uses the power of Dynamic and ExpandoObject in .Net 4 to dynamically populate name-value pairs from the arguments passed to the command line. Tiny's argument parsing depends on separators for name-value pairs, for example if the command line for your app is: c:\code\myapp\bin\myapp testargument1:testvalue testargument2:with_a:in_the_value testargument3 Note: The default separator for Tiny is ':'. The code for parsing these arguments through Tiny is: static void Main(string[] args) { Tiny t = new Tiny(args); } You can read the passed arguments directly as properties via your code by writing code like this: t.Arguments.testargument1 t.Arguments.testargument2 Any argument without a specified separator gets the name of UndefinedArgumentX where X is the number of the encountered argument without a separator. In the above example, the last argument can be read via: t.Arguments.UndefinedArgument1 You can now also use methods like count and contains. Example: t.Arguments.count if(t.Arguments.contains("arg1")){ }

Ecosystem
nuget.org
Latest Release
1.0.4
over 11 years ago
Versions
5
Downloads
11,618 total
Dependent Repos
1
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.

Filter
Filter by Kind
Links
Registry nuget.org
Source Repository
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:nuget/tiny
spec
License MIT
First Release over 11 years ago
Last Synced 12 days ago
Repository
Stars 1 on GitHub
Forks 0 on GitHub
Rankings on nuget.org
Dependent repos Top 7.0%