dyross / cliche Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/cliche
License: MIT License
Automatically exported from code.google.com/p/cliche
License: MIT License
What steps will reproduce the problem?
1. Try and use the hello world in a gradle project.
What is the expected output? What do you see instead?
NPE
Original issue reported on code.google.com by [email protected]
on 25 Jul 2015 at 12:41
I am sorry, this is not a bug, more a question or a feature request. May be its
already explained somewhere, but I didn't found.
I wonder if there is a possible, to react dynamically on any user input?
In my concrete case, I want to offer a menue to the user, where he could choose
an item of a dynamically created list e.g.
1: Item A
2: Item B
3: Item C
4: Item D
I want the user to input just '1', '2' etc.. I know I can create a method and
pass the number as parameter, but this is a bit clumsy in my case.
Another but related question is, is it possible to react on empty lines, so if
the user just presses enter without any command?
Original issue reported on code.google.com by [email protected]
on 2 Apr 2014 at 3:27
Just wondering if there was a way to implement cls (WIndow) or clear (Linux
Original issue reported on code.google.com by [email protected]
on 10 Sep 2013 at 12:37
I was wondering if your nice shell support auto completion? if yes How should I
enable it?
if now, it is nice if you conclude it :)
Original issue reported on code.google.com by [email protected]
on 29 Jun 2013 at 10:53
What steps will reproduce the problem?
1. create command method that takes one vararg parameter.
@Command
public void command(String...args){...}
2. call it without parameters
> command
3. error occurs
I expected that such command takes any number of arguments, including 0 -
calling command() is valid use of such method
Instead cliche throws asg.cliche.CLIException: There's no command "command"
taking 0 arguments
Original issue reported on code.google.com by [email protected]
on 11 Mar 2013 at 7:25
Would be nice to have an abbreviated version of the exit command e.g. x or q
Original issue reported on code.google.com by [email protected]
on 9 Jul 2014 at 1:21
It may be possible to use Enumeration.valueOf to resolve string parameters in
to enumeration values.
Original issue reported on code.google.com by [email protected]
on 15 Jul 2014 at 5:55
What steps will reproduce the problem?
1. Define a command that takes one argument and writes it to stdout.
2. Execute shell, supply an argument that contains a " or ' character.
3. Observe the value of the argument written to stdout.
What is the expected output? What do you see instead?
I would expect the " or ' character to be included in the stdout, but it is
apparently being stripped out.
What version of the product are you using? On what operating system?
Cliche version 110413
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
OS X 10.9.5 (13F34)
Please provide any additional information below.
Attempted to escape the quote characters with \, but doesn't seem to help. It
would be very useful to be able to include " or ' characters as this allows for
a small JSON or XML fragment to be provided as a command argument.
Original issue reported on code.google.com by [email protected]
on 11 Feb 2015 at 8:49
It would be nice to be able to interrupt the sub command loop at the end of a
commend.
Currently I do this like this:
public class ExitSettings extends Settings {
public static final Settings INSTANCE = new ExitSettings();
public ExitSettings() {
super(ExitCommandInput.INSTANCE, SilentOutput.INSTANCE, null, Boolean.FALSE);
}
}
public class SilentOutput implements Output {
public static final Output INSTANCE = new SilentOutput();
@Override
public void outputHeader(String paramString) {
}
@Override
public void outputException(String paramString, TokenException paramTokenException) {
}
@Override
public void outputException(Throwable paramThrowable) {
}
@Override
public void output(Object paramObject, OutputConversionEngine paramOutputConversionEngine) {
}
}
public class ExitCommandInput implements Input {
public static final Input INSTANCE = new ExitCommandInput();
@Override
public String readCommand(List<String> paramList) {
return "exit";
}
}
theShell.setSettings(ExitSettings.INSTANCE);
with theShell obtained from ShellDependent
would be much nicer to have something like pushSubShell and popSubShell
Original issue reported on code.google.com by [email protected]
on 9 Jul 2014 at 1:24
What steps will reproduce the problem?
None - just hoping to encourage developer to submit this to a maven repository
(or share the repository that may already contain it).
What is the expected output? What do you see instead?
N/A.
What version of the product are you using? On what operating system?
N/A
Please provide any additional information below.
N/A
Original issue reported on code.google.com by [email protected]
on 25 Apr 2011 at 1:37
I'd like to use the shell remotely via ssh or telnet. Is it possible?
I think we need to be able to pass custom stdin,stdout,stderr to the
ShellFactory to do so.
Original issue reported on code.google.com by [email protected]
on 2 Mar 2015 at 12:36
Is there any particular reason why this is not available in a stable version
from maven repo. From what I can see its available only with 1.0-SNAPSHOT which
can cause some troubles when cutting a release of our product. Could you pls
release the stable one to public mvn repo please?
Original issue reported on code.google.com by [email protected]
on 11 Jun 2013 at 7:36
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.