All Projects → Nick-Lucas → Entrypoint

Nick-Lucas / Entrypoint

Licence: mit
Composable CLI Argument Parser for all modern .Net platforms.

Programming Languages

declarative
70 projects

Projects that are alternatives of or similar to Entrypoint

Picocli
Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps can include as source & avoid adding a dependency. Written in Java, usable from Groovy, Kotlin, Scala, etc.
Stars: ✭ 3,286 (+2316.18%)
Mutual labels:  cli, command-line, parser
Spectre.cli
An extremely opinionated command-line parser.
Stars: ✭ 121 (-11.03%)
Mutual labels:  cli, command-line, parser
Mri
Quickly scan for CLI flags and arguments
Stars: ✭ 394 (+189.71%)
Mutual labels:  cli, command-line, parser
Typin
Declarative framework for interactive CLI applications
Stars: ✭ 126 (-7.35%)
Mutual labels:  cli, command-line, parser
Fast Xml Parser
Validate XML, Parse XML to JS/JSON and vise versa, or parse XML to Nimn rapidly without C/C++ based libraries and no callback
Stars: ✭ 1,021 (+650.74%)
Mutual labels:  cli, command-line, parser
Nodejs Cli Apps Best Practices
The largest Node.js CLI Apps best practices list ✨
Stars: ✭ 2,144 (+1476.47%)
Mutual labels:  cli, command-line
Raft.net
Implementation of RAFT distributed consensus algorithm among TCP Peers on .NET / .NETStandard / .NETCore / dotnet
Stars: ✭ 112 (-17.65%)
Mutual labels:  core, net
Coinmon
💰 The cryptocurrency price tool on CLI. 🖥
Stars: ✭ 1,581 (+1062.5%)
Mutual labels:  cli, command-line
Chest
Bash glue to encrypt and hide files
Stars: ✭ 123 (-9.56%)
Mutual labels:  cli, command-line
Sywac
🚫 🐭 Asynchronous, single package CLI framework for Node
Stars: ✭ 109 (-19.85%)
Mutual labels:  cli, parser
Bull Repl
Bull / BullMQ queue command line REPL
Stars: ✭ 121 (-11.03%)
Mutual labels:  cli, command-line
Flow Cli
The Flow CLI is a command-line interface that provides useful utilities for building Flow applications
Stars: ✭ 123 (-9.56%)
Mutual labels:  cli, command-line
Flap
Fortran command Line Arguments Parser for poor people
Stars: ✭ 109 (-19.85%)
Mutual labels:  command-line, parser
Httpcat
httpcat is a simple utility for constructing raw HTTP requests on the command line.
Stars: ✭ 109 (-19.85%)
Mutual labels:  cli, command-line
Cum
comic updater, mangafied
Stars: ✭ 117 (-13.97%)
Mutual labels:  cli, command-line
Gest
👨‍💻 A sensible GraphQL testing tool - test your GraphQL schema locally and in the cloud
Stars: ✭ 109 (-19.85%)
Mutual labels:  cli, command-line
Nnn
n³ The unorthodox terminal file manager
Stars: ✭ 13,138 (+9560.29%)
Mutual labels:  cli, command-line
Dynein
DynamoDB CLI written in Rust.
Stars: ✭ 126 (-7.35%)
Mutual labels:  cli, command-line
Check It Out
A command line interface for Git Checkout. See branches available for checkout.
Stars: ✭ 127 (-6.62%)
Mutual labels:  cli, command-line
Word Wrap
Wrap words to a specified length.
Stars: ✭ 107 (-21.32%)
Mutual labels:  cli, command-line

Build status NuGet MIT License

EntryPoint

Composable CLI Argument Parser for all modern .Net platforms

Parses arguments in the form UtilityName [command] [-o | --options] [operands]

Supports:

  • .Net Standard 1.6+ (.Net Core and all future .Net releases are built on this)
  • .Net Framework 4.5+

Follows the IEEE Standard closely, but does include common adblibs such as fully named --option style options.

Installation

EntryPoint is available on NuGet:

PM> Install-Package EntryPoint

Pull requests and suggestions are welcome, and some small tasks are already in the Issues.

Documentation

As simple as...

Parse your application's Command Line Arguments into a declarative POCO, in one line.

Arguments are defined as declarative POCOs using Attributes.

var arguments = Cli.Parse<CliArguments>(args);
if (arguments.Option) {
  // ...
};
public class CliArguments : BaseCliArguments {
    public CliArguments() : base("MyApplication") { }

    [Option(ShortName: 'o',
            LongName: "option-1")]
    public bool Option { get; set; }
}

Commands have a dedicated API:

Cli.Execute<CliCommands>(args);
public class CliCommands : BaseCliCommands {
    [Command("primary")]
    public void Primary(string[] args) {
    	// Arguments Parsing and Command Code...
    }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].