/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

package org.apache.maven.shell.commands.basic;

import org.apache.maven.shell.Branding;
import org.apache.maven.shell.command.Command;
import org.apache.maven.shell.command.CommandContext;
import org.apache.maven.shell.command.CommandSupport;
import org.apache.maven.shell.io.IO;
import org.codehaus.plexus.component.annotations.Component;

/**
 * Display information about the current shell.
 *
 * @author <a href="mailto:jason@planet57.com">Jason Dillon</a>
 */
@Component(role=Command.class, hint="about")
public class AboutCommand
    extends CommandSupport
{
    public Object execute(final CommandContext context) throws Exception {
        assert context != null;
        IO io = context.getIo();
        Branding branding = context.getShell().getBranding();

        io.out.println(branding.getAboutMessage());

        // TODO: Dump more details when --verbose

        return Result.SUCCESS;
    }
}
@@ -1581,60 +1581,320 @@
    i
-o.out.println(branding.getAboutMessage
+f (io.isVerbose()) %7B%0A            io.verbose(%22Version: %7B%7D%22, branding.getVersion());%0A            io.verbose(%22Display Name: %7B%7D%22, branding.getDisplayName());%0A            io.verbose(%22Program Name: %7B%7D%22, branding.getProgramName());%0A            io.verbose(%22Script Extension: %7B%7D%22, branding.getScriptExtension
 ());%0A
-%0A
         
 // T
@@ -1893,49 +1893,403 @@
     
-// TODO: Dump more details when --verbose
+    io.verbose(%22Script Home Dir: %7B%7D%22, branding.getShellHomeDir());%0A            io.verbose(%22Script Context Dir: %7B%7D%22, branding.getShellContextDir());%0A            io.verbose(%22Script User Home Dir: %7B%7D%22, branding.getUserHomeDir());%0A            io.verbose(%22Script User Context Dir: %7B%7D%22, branding.getUserContextDir());%0A        %7D%0A        else %7B%0A            io.info(branding.getAboutMessage());%0A        %7D
 %0A%0A  

Implement more about