core/Command/L10n/CreateJs.php
/**
	 * Return possible values for the named argument
	 *
	 * @param string $argumentName
	 * @param CompletionContext $context
	 * @return string[]
	 */
Return possible values for the named argument
@param string $argumentName
@param CompletionContext $context
@return string[]
Return possible values for the named argument @param string $argumentName @param CompletionContext $context @return string []
public function completeArgumentValues($argumentName, CompletionContext $context) {
		if ($argumentName === 'app') {
			return \OC_App::getAllApps();
		} else if ($argumentName === 'lang') {
			$appName = $context->getWordAtIndex($context->getWordIndex() - 1);
			return $this->getAllLanguages(\OC_App::getAppPath($appName));
		}
		return [];
	}
public function completeArgumentValues ( $ argumentName , CompletionContext $ context ) { if ( $ argumentName === 'app' ) { return \ OC_App :: getAllApps ( ) ; } else if ( $ argumentName === 'lang' ) { $ appName = $ context -> getWordAtIndex ( $ context -> getWordIndex ( ) - 1 ) ; return $ this -> getAllLanguages ( \ OC_App :: getAppPath ( $ appName ) ) ; } return [ ] ; }
Return possible values for the named argument
 @param string $argumentName
 @param CompletionContext $context
 @return string[]
Return possible values for the named argument @param string $argumentName @param CompletionContext $context @return string []