KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#cli
#claude-code
#codex
#developer-tools
#react
#windows
parser
★ 24
Open GitHub ↗
arg and flag parser for oclif
Download README (.md)
Explore Similar Repositories
go-clap
:
Lightweight, non intrusive Command Line Argument Parser
sendgrid-webhooks
:
A library to parse webhook events from Sendgrid. Supports all events, categories and unique args.
args-tokens
:
parseArgs tokens compatibility and more high-performance parser
butcher
:
haskell library to parse commandline args - an alternative to optparse-applicative
go-cli-boilerplate
:
A powerful Golang CLI application scaffold integrated with Logrus, arg parser, toml config, testify, Makefile, VSCode and Github Action.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
parser
?
Download (.md)
@oclif/parser ============= **This library has been replaced by [@oclif/core](https://github.com/oclif/core) and is no longer maintained** arg and flag parser for oclif [](https://npmjs.org/package/@oclif/parser) [](https://circleci.com/gh/oclif/parser/tree/main) [](https://ci.appveyor.com/project/heroku/parser/branch/main) [](https://snyk.io/test/npm/@oclif/parser) [](https://npmjs.org/package/@oclif/parser) [](https://github.com/oclif/parser/blob/main/package.json) CLI flag parser. Usage: ```js const CLI = require('cli-flags') const {flags, args} = CLI.parse({ flags: { 'output-file': CLI.flags.string({char: 'o'}), force: CLI.flags.boolean({char: 'f'}) }, args: [ {name: 'input', required: true} ] }) if (flags.force) { console.log('--force was set') } if (flags['output-file']) { console.log(`output file is: ${flags['output-file']}`) } console.log(`input arg: ${args.input}`) // $ node example.js -f myinput --output-file=myexample.txt // --force was set // output file is: myexample.txt // input arg: myinput ```