Three possible technologies: The Cobra toolkit is a pure Java HTML parser and rendering engine with support for CSS 2 and JavaScript. The Cobra Programming Language has Python-like syntax that targets the .NET runtime and supports built-in unit tests, contracts and both dynamic/static programming support. Cobra is a Go library for creating powerful modern CLI applications as well as a program to generate applications and command files.
The Cobra toolkit is a pure Java HTML parser and rendering engine with support for CSS2 and JavaScript.
Cobra can be used as a JavaScript-aware and CSS-aware HTML parser, independently of the Cobra rendering engine. JavaScript DOM modifications that occur during parsing (e.g. via document.write) will be reflected in the parsed DOM, unless JavaScript is disabled.
See also the official homepage.
The Cobra Programming Language has the following features:
- Clean, high-level syntax
- Static and dynamic binding
- First class support for unit tests and contracts
- Compiled performance with scripting conveniences
- Lambdas and closures
- Extensions and mixins
See the homepage.
The Cobra library for Go provides:
- Easy subcommand-based CLIs: app server, app fetch, etc.
- Fully POSIX-compliant flags (including short & long versions)
- Nested subcommands
- Global, local and cascading flags
- Easy generation of applications & commands with cobra init appname & cobra add cmdname
- Intelligent suggestions (app server)
- Automatic help generation for commands and flags
- Automatic help flag recognition of -h, --help, etc.
- Automatically generated bash autocomplete for your application
- Automatically generated man pages for your application
- Command aliases so you can change things without breaking them
- The flexibility to define your own help, usage, etc.
- Optional tight integration with viper for 12-factor apps
See also the official homepage.