aminnairi / command-parser Goto Github PK
View Code? Open in Web Editor NEWCommand Line Arguments Parser
Home Page: https://www.npmjs.com/package/@aminnairi/command-parser
License: MIT License
Command Line Arguments Parser
Home Page: https://www.npmjs.com/package/@aminnairi/command-parser
License: MIT License
Describe the bug
There is no logo for the Travis CI badge.
Expected behavior
There should be a logo for the Travis CI badge.
Additional context
The reason why there is no logo is because the badge was fetched from the Travis CI website and not from the Shields.io website. Hence, preventing the new logo feature from being used on the Travis CI badge (which is not implemented).
Describe the bug
There is a typo in the documentation for the first and second section of the quick start.
Expected behavior
There should be no typo.
Describe the bug
The coverage badge links to the development branch.
Expected behavior
The coverage badge should link to the master branch.
Additional context
The coverage reports were initially done on the development branch for testing (and learning) purposes. All coverage reports are now done on the branch master (where the latest version resides for all tags and NPM versions).
Describe the bug
There is currently no way of providing parameters with the equal sign syntax for double-dash parameters.
To Reproduce
Steps to reproduce the behavior:
$ mkdir double-dash-equal-test
$ cd double-dash-equal-test
$ npm init --yes
$ npm install @aminnairi/command-parser
$ touch index.js
index.js
file with the editor of your choice'use strict';
const { CommandParser } = require('@aminnairi/command-parser');
const parser = new CommandParser();
parser.option('meme', 'Template of the meme to use');
console.log(parser.parse());
$ node index.js --meme=conceited-reaction So you want to use double-dash-equal syntax huh
{ argument:
'--meme=conceited-reaction So you want to use double-dash syntax huh' }
Expected behavior
The step 7 should output something like this:
$ node index.js --meme=conceited-reaction So you want to use double-dash-equal syntax huh
{ meme: 'conceited-reaction',
argument: 'So you want to use double-dash syntax huh' }
Desktop:
Additional context
Documentation for the POSIX specification for parsing arguments.
Is your feature request related to a problem? Please describe.
There should be a name section indicating the name and the quick description of the program.
Describe the solution you'd like
The solution to adopt is inspired from the How should a formatted man page look? page.
Describe the bug
The documentation for the version 0.3.0 is currently outdated and does not represent the real configuration necessary for the API to work. Though it will be indicated to the user whenever something is missing/wrong in the configuration/usage.
Expected behavior
The documentation should provide informations about:
Desktop:
Is your feature request related to a problem? Please describe.
There should be a description section in the help output.
Describe the solution you'd like
The solution is inspired from the How should a formatted man page look? page.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.