blob: 6b82ff919d85c88fbb36f827d0e45c62944b7f35 [file] [log] [blame]
Thomas Vachuska7399e482014-12-01 21:27:42 -08001/*
Jian Lic6c76dc2016-01-26 14:22:51 -08002 * Copyright ${year} Open Networking Laboratory
Thomas Vachuska7399e482014-12-01 21:27:42 -08003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
Thomas Vachuskafc7f22d2014-12-04 11:07:01 -080016package ${package};
17
18import org.apache.karaf.shell.commands.Command;
19import org.onosproject.cli.AbstractShellCommand;
Thomas Vachuska7399e482014-12-01 21:27:42 -080020
21/**
Thomas Vachuskafc7f22d2014-12-04 11:07:01 -080022 * Sample Apache Karaf CLI command
Thomas Vachuska7399e482014-12-01 21:27:42 -080023 */
Thomas Vachuskafc7f22d2014-12-04 11:07:01 -080024@Command(scope = "onos", name = "sample",
25 description = "Sample Apache Karaf CLI command")
26public class AppCommand extends AbstractShellCommand {
27
28 @Override
29 protected void execute() {
30 print("Hello %s", "World");
31 }
Thomas Vachuska7399e482014-12-01 21:27:42 -080032
33}