Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove out JSON Schema from output #149

Closed
itekaf opened this issue Aug 16, 2018 · 2 comments
Closed

Remove out JSON Schema from output #149

itekaf opened this issue Aug 16, 2018 · 2 comments

Comments

@itekaf
Copy link
Contributor

itekaf commented Aug 16, 2018

The result of parsing any CLI is args.json schema. I suggest to remove it from the output and reason out new output JSON Object (without JSON Schema), which will include all necessary properties.

@itekaf
Copy link
Contributor Author

itekaf commented Aug 17, 2018

I suggest following output object:

arguments: [
    {
        name: string,
        shortName: string,
        description: string,
        flag: boolean,
        usage: string,
        delimiter: string [default "="],
        type: string,
        enum: array,
        default: string|number|boolean|array
    }
],
example: [
    string
]
delimiter: string

ifedchankau added a commit to ifedchankau/usage-parser that referenced this issue Aug 20, 2018
- Remove JSON Schema from output

Closes linterhub#149
ifedchankau added a commit to ifedchankau/usage-parser that referenced this issue Aug 20, 2018
- Remove JSON Schema from output

Closes linterhub#149
ifedchankau added a commit to ifedchankau/usage-parser that referenced this issue Aug 20, 2018
- Remove JSON Schema from output

Closes linterhub#149
ifedchankau added a commit to ifedchankau/usage-parser that referenced this issue Aug 20, 2018
- Remove JSON Schema from output

Closes linterhub#149
ifedchankau added a commit to ifedchankau/usage-parser that referenced this issue Aug 20, 2018
- Remove JSON Schema from output

Closes linterhub#149
ifedchankau added a commit to ifedchankau/usage-parser that referenced this issue Aug 20, 2018
- Remove JSON Schema from output

Closes linterhub#149
ifedchankau added a commit to ifedchankau/usage-parser that referenced this issue Aug 20, 2018
- Remove JSON Schema from output

Closes linterhub#149
@itekaf
Copy link
Contributor Author

itekaf commented Aug 20, 2018

🎉 This issue has been resolved in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant