From: hyunsik.noh Date: Mon, 25 Nov 2013 10:10:12 +0000 (+0900) Subject: CLI: add @TizenSubCommand X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f644b8b06784ad00452af30ca98ffd61d672733c;p=sdk%2Ftools%2Fcli.git CLI: add @TizenSubCommand Add @TizenSubCommand for SingCLI and BuildNativeCLI Change-Id: If4e790adeedff039acb078f46b9f9558ecd4191a Signed-off-by: hyunsik.noh --- diff --git a/org.tizen.ncli.ide/src/org/tizen/ncli/ide/shell/BuildNativeCLI.java b/org.tizen.ncli.ide/src/org/tizen/ncli/ide/shell/BuildNativeCLI.java index 91e0c9d..fcd09f5 100644 --- a/org.tizen.ncli.ide/src/org/tizen/ncli/ide/shell/BuildNativeCLI.java +++ b/org.tizen.ncli.ide/src/org/tizen/ncli/ide/shell/BuildNativeCLI.java @@ -27,12 +27,14 @@ package org.tizen.ncli.ide.shell; import org.kohsuke.args4j.Option; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.tizen.ncli.core.TizenSubCommand; import org.tizen.ncli.ide.subcommands.BuildNative; import org.tizen.ncli.ide.subcommands.BuildNativeCLICommand; /** * @author Hyunsik Noh{@leteral } (S-core) */ +@TizenSubCommand(name="build-native" , usage="Build for the tizen native project") public class BuildNativeCLI extends AbstractCLI { private Logger log = LoggerFactory.getLogger(getClass()); diff --git a/org.tizen.ncli.ide/src/org/tizen/ncli/ide/shell/SignCLI.java b/org.tizen.ncli.ide/src/org/tizen/ncli/ide/shell/SignCLI.java index 9571513..a4b325f 100644 --- a/org.tizen.ncli.ide/src/org/tizen/ncli/ide/shell/SignCLI.java +++ b/org.tizen.ncli.ide/src/org/tizen/ncli/ide/shell/SignCLI.java @@ -25,8 +25,10 @@ package org.tizen.ncli.ide.shell; import org.kohsuke.args4j.Option; +import org.tizen.ncli.core.TizenSubCommand; import org.tizen.ncli.ide.subcommands.SignCLICommand; +@TizenSubCommand(name="sign" , usage="Signing for the tizen project") public class SignCLI extends AbstractCLI { @Option(name = "--profile" , usage="Specify profile name that is already registered.")