Sub command

Bug #545750 reported by Jiaqi Guo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jcli
Won't Fix
Undecided
Unassigned

Bug Description

Mentioned in http://wiki.cyclopsgroup.org/forum/t-226261/sub-commands-in-jcli, JCli should provide an easy way for people to implement SVN-like command line style.

"Suppose I wanted to implement a command like the "svn" command, which has subcommands ("svn commit", "svn checkout", and even "svn help commit")? Sub-commands in svn have their own options, as well as the global options. Can JCli help with any of that?"
--http://www.wikidot.com/user:info/seanf

Jiaqi Guo (jiaqi-guo)
Changed in jcli:
status: New → Confirmed
Revision history for this message
Jiaqi Guo (jiaqi) wrote :

Subcommand can be easily implemented by user on top of current JCli library.

My previous two major commercial projects and Jmxterm open source project all implemented action-based subcommand on top of JCli. The code that figures out bean class based on action name heavily relies on the technology of context and framework. Therefore it's hard for JCli to make assumption and implement a generic version.

Therefore the conclusion is, user need to implement sub command by themselves.

Changed in jcli:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.