Blame Scripts/Bash/Cli/Functions/Identity/identity.sh

4c79b5
#!/bin/bash
4c79b5
#
294842
# identity.sh -- This function initializes rendition variables and
294842
# actions to centos-art.sh script.
4c79b5
#
9f5f2e
# Copyright (C) 2009-2011 Alain Reguera Delgado
4c79b5
# 
7cd8e9
# This program is free software; you can redistribute it and/or
7cd8e9
# modify it under the terms of the GNU General Public License as
7cd8e9
# published by the Free Software Foundation; either version 2 of the
7cd8e9
# License, or (at your option) any later version.
4c79b5
# 
4c79b5
# This program is distributed in the hope that it will be useful, but
4c79b5
# WITHOUT ANY WARRANTY; without even the implied warranty of
4c79b5
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
4c79b5
# General Public License for more details.
4c79b5
#
4c79b5
# You should have received a copy of the GNU General Public License
4c79b5
# along with this program; if not, write to the Free Software
4c79b5
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
4c79b5
# USA.
4c79b5
# 
4c79b5
# ----------------------------------------------------------------------
418249
# $Id$
4c79b5
# ----------------------------------------------------------------------
4c79b5
54b5e5
function identity {
4c79b5
15b1d2
    # Define default value to target flag. The target flag (--to)
15b1d2
    # controls final destination used by copy related actions.
15b1d2
    local FLAG_TO=''
15b1d2
a8af39
    # Define release number flag. The relesase number flag (--release)
a8af39
    # specifies the release number identity images are rendered for.
c9f7fa
    # By default no release number is used.
a8af39
    local FLAG_RELEASE=''
a8af39
c9f7fa
    # Define architecture flag. The architecture flag (--architecture)
c9f7fa
    # specifies the architecture type identity images are rendered
c9f7fa
    # for.  By default no architecture type is used.
c9f7fa
    local FLAG_ARCHITECTURE=''
c9f7fa
294842
    # Define theme model flag. The theme model flag (--theme-model)
294842
    # specifies the theme model used when no one is specified.
294842
    local FLAG_THEME_MODEL='Default'
294842
b463d6
    # Define convert-to flag. The convert-to flag (--convert-to)
b463d6
    # specifies the post-rendition image convertion action to perform
b463d6
    # upon PNG images.  By default there is no image convertion.
b463d6
    local FLAG_CONVERT_TO=''
b463d6
b463d6
    # Define grouped-by flag. The grouped-by flag (--grouped-by)
b463d6
    # specifies the post-rendition image grouping action to perform
b463d6
    # upon images produced. By default there is no grouping action.
b463d6
    local FLAG_GROUPED_BY=''
b463d6
15b1d2
    # Define rendition actions.
e912f5
    identity_getActions
4c79b5
4c79b5
}