Skip to content

Adds an extra help paragraph to an argparse instance

Notifications You must be signed in to change notification settings

msikma/argparse-longhelp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Small helper function for argparse to add extra help text.

This makes use of argparse internals, but the project's code is stable enough and is unlikely to change in a way that would break this.

Example

const parser = new ArgumentParser({
  version: '1.0.0',
  addHelp: true,
  description: 'Regular description',
  epilog: 'Copyright'
})
addLongHelp(parser, 'A long explanation')

Copyright

MIT license.

About

Adds an extra help paragraph to an argparse instance

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published