001/* 002 * Copyright 2025 devteam@scivicslab.com 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, 011 * software distributed under the License is distributed on an 012 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 013 * either express or implied. See the License for the 014 * specific language governing permissions and limitations 015 * under the License. 016 */ 017 018package com.scivicslab.actoriac.cli; 019 020import com.scivicslab.actoriac.Version; 021import picocli.CommandLine.IVersionProvider; 022 023/** 024 * Provides version information for picocli commands. 025 * 026 * @author devteam@scivicslab.com 027 * @since 2.14.0 028 */ 029public class VersionProvider implements IVersionProvider { 030 031 @Override 032 public String[] getVersion() { 033 return new String[] { Version.full() }; 034 } 035}