Project

cli-topic

0.0
No commit activity in last 3 years
No release in over 3 years
Small framework to build CLI organised in topics/subcommands.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.0.0
 Project Readme

Topicli

'Small framework to build CLI. It provide simple way to declare options/descriptions/topics to focus only on the "action" part of commands. Some features:

  • Light DSL
  • Commands are organised in Topic (aka Subcommands)
  • DRY options declaration, it's use 3 layers: global -> topic -> command
  • Each topic has it's own description/options list
  • Load options values from a config file
  • Built-in Help command: ./cli help TOPIC/COMMAND
  • Flexible option-parser, Cli-topic use the stdlib OptionParser by default, but can be changed to Slop/Trollop or any custom one.
  • Command suggestions',