Giter VIP home page Giter VIP logo

csf.cli.parameters's Introduction

Command-line parameter reader (retired)

This library is now retired and will not receive further updates. Please consider System.CommandLine instead.


This library introduces a reader/parser for command-line application parameters, with a capability to deserialize the read parameters into a plain old CSharp object (POCO).

To use this library you would:

  • Register the available parameters using a mapping-based mechanism.
  • Pass the string[] parameters received from your static void Main(string[] args) method into the parser
  • Receive, from the parser, an instance of your POCO with its applicable properties populated.

Documentation and examples

The documentation and examples for this library may be found on the project wiki.

Open source license

All source files within this project are released as open source software, under the terms of the MIT license.

This software is distributed in the hope that it will be useful, but please remember that:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

csf.cli.parameters's People

Contributors

craigfowler avatar

Watchers

James Cloos avatar  avatar

csf.cli.parameters's Issues

Write the wiki

The wiki is referred to in the README. This needs writing.

Tidy up and release v1.0.0 as nuget package

This new repository now needs tidying, ready for release as a nuget package:

  • Use git filter-branch to remove Common/Dependencies
  • Remove unneeded files in Common and util directories
  • Rewrite readme file
  • Rename solution file and tests project
  • Update AssemblyInfo accordingly
  • Create nuspec file
  • Configure project for documentation and compile flags

This repository is blocked on two others:

  • CSF.Core
  • CSF.Reflection

Handle -- to end parameter parsing

As with conventions on Linux, two dashes alone ends the parsing of parameters, and indicates that everything else is 'remaining arguments'. This should be supported.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.