// Path: cicomponents-github-api/src/main/java/org/cicomponents/github/GithubOAuthTokenProvider.java
// public interface GithubOAuthTokenProvider {
//     /**
//      * Token
//      * @return
//      */
//     String getAccessToken();
//     /**
//      * A repository in a user/repo format, for example <code>"cicomponents/cicomponents"</code>
//      * @return
//      */
//     String getRepository();
// }


import org.apache.karaf.shell.api.action.Action;
import org.apache.karaf.shell.api.action.Command;
import org.apache.karaf.shell.api.action.lifecycle.Service;
import org.apache.karaf.shell.table.ShellTable;
import org.cicomponents.github.GithubOAuthTokenProvider;
import org.osgi.framework.BundleContext;
import org.osgi.framework.FrameworkUtil;
import org.osgi.framework.ServiceReference;
import java.util.Collection;
/**
 * Copyright (c) 2016, All Contributors (see CONTRIBUTORS file)
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package org.cicomponents.github.impl.commands;



@Command(scope = "github", name = "tokens", description = "List available GitHub tokens")
@Service
public class GithubTokensCommand implements Action {
// Path: cicomponents-github-api/src/main/java/org/cicomponents/github/GithubOAuthTokenProvider.java
// public interface GithubOAuthTokenProvider {
//     /**
//      * Token
//      * @return
//      */
//     String getAccessToken();
//     /**
//      * A repository in a user/repo format, for example <code>"cicomponents/cicomponents"</code>
//      * @return
//      */
//     String getRepository();
// }


// Path: cicomponents-github/src/main/java/org/cicomponents/github/impl/commands/GithubTokensCommand.java
import org.apache.karaf.shell.api.action.Action;
import org.apache.karaf.shell.api.action.Command;
import org.apache.karaf.shell.api.action.lifecycle.Service;
import org.apache.karaf.shell.table.ShellTable;
import org.cicomponents.github.GithubOAuthTokenProvider;
import org.osgi.framework.BundleContext;
import org.osgi.framework.FrameworkUtil;
import org.osgi.framework.ServiceReference;
import java.util.Collection;

/**
 * Copyright (c) 2016, All Contributors (see CONTRIBUTORS file)
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package org.cicomponents.github.impl.commands;



@Command(scope = "github", name = "tokens", description = "List available GitHub tokens")
@Service
public class GithubTokensCommand implements Action {
    @Override public Object execute() throws Exception {